Describes a uniform block. More...
This struct was introduced in Qt 6.6.
| int | binding |
| QByteArray | blockName |
| int | descriptorSet |
| QList<QShaderDescription::BlockVariable> | members |
| int | size |
| QByteArray | structName |
| bool | operator==(const QShaderDescription::UniformBlock &lhs, const QShaderDescription::UniformBlock &rhs) |
Note: When translating to shading languages without uniform block support (like GLSL 120 or GLSL/ES 100), uniform blocks are replaced with ordinary uniforms in a struct. The name of the struct, and so the prefix for the uniforms generated from the block members, is given by structName.
Note: This is a RHI API with limited compatibility guarantees, see QShaderDescription for details.
[noexcept] bool operator==(const QShaderDescription::UniformBlock &lhs, const QShaderDescription::UniformBlock
&rhs)Returns true if the two UniformBlock objects lhs and rhs are equal.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: