En esta página

QShaderDescription::UniformBlock Struct

struct QShaderDescription::UniformBlock

Describe 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
bool operator==(const QShaderDescription::UniformBlock &lhs, const QShaderDescription::UniformBlock &rhs)

Descripción detallada

Nota: Al traducir a lenguajes de sombreado que no admiten bloques uniformes (como GLSL 120 o GLSL/ES 100), los bloques uniformes se sustituyen por uniformes normales en una estructura. El nombre de la estructura, y por tanto el prefijo de los uniformes generados a partir de los miembros del bloque, viene dado por structName.

Nota: Se trata de una API de RHI con garantías de compatibilidad limitadas; consulta QShaderDescription para obtener más detalles.

Documentación de las variables miembro

int UniformBlock::binding

QByteArray UniformBlock::blockName

int UniformBlock::descriptorSet

QList<QShaderDescription::BlockVariable> UniformBlock::members

int UniformBlock::size

QByteArray UniformBlock::structName

Personas relacionadas que no son 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.