QShaderDescription::UniformBlock Struct
struct QShaderDescription::UniformBlockDescribe un bloque uniforme. Más...
Esta estructura se introdujo en Qt 6.6.
Variables públicas
| int | binding |
| QByteArray | blockName |
| int | descriptorSet |
| QList<QShaderDescription::BlockVariable> | members |
| int | size |
| QByteArray | structName |
No miembros relacionados
| bool | operator==(const QShaderDescription::UniformBlock &lhs, const QShaderDescription::UniformBlock &rhs) |
Descripción Detallada
Nota: Al traducir a lenguajes de sombreado sin soporte de bloques uniformes (como GLSL 120 o GLSL/ES 100), los bloques uniformes se sustituyen por uniformes ordinarios en una estructura. El nombre de la estructura, y por tanto el prefijo para los uniformes generados a partir de los miembros del bloque, viene dado por structName.
Nota: Se trata de una API RHI con garantías de compatibilidad limitadas; consulte QShaderDescription para obtener más detalles.
Documentación de variables miembro
int UniformBlock::binding
QByteArray UniformBlock::blockName
int UniformBlock::descriptorSet
QList<QShaderDescription::BlockVariable> UniformBlock::members
int UniformBlock::size
QByteArray UniformBlock::structName
Relacionados No miembros
[noexcept] bool operator==(const QShaderDescription::UniformBlock &lhs, const QShaderDescription::UniformBlock &rhs)
Devuelve true si los dos objetos UniformBlock lhs y rhs son iguales.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.