块变量结构体
struct QShaderDescription::BlockVariable描述统一变量或推送常量块的成员。更多...
此结构体在 Qt 6.6 中引入。
公共变量
| QList<int> | arrayDims |
| int | arrayStride |
| bool | matrixIsRowMajor |
| int | matrixStride |
| QByteArray | name |
| int | offset |
| int | size |
| QList<QShaderDescription::BlockVariable> | structMembers |
| QShaderDescription::VariableType | type |
相关非成员
| bool | operator==(const QShaderDescription::BlockVariable &lhs, const QShaderDescription::BlockVariable &rhs) |
详细描述
注意:这是一个 RHI API,具有有限的兼容性保证,有关详细信息,请参阅QShaderDescription。
成员变量文档
QList<int> BlockVariable::arrayDims
int BlockVariable::arrayStride
bool BlockVariable::matrixIsRowMajor
int BlockVariable::matrixStride
QByteArray BlockVariable::name
int BlockVariable::offset
int BlockVariable::size
QList<QShaderDescription::BlockVariable> BlockVariable::structMembers
QShaderDescription::VariableType BlockVariable::type
相关非成员
[noexcept] bool operator==(const QShaderDescription::BlockVariable &lhs, const QShaderDescription::BlockVariable &rhs)
如果两个 块的变量 对象 lhs 和 rhs 相等,则返回 true。
© 2024 Qt公司有限公司。此处包含的文档贡献均为各自所有者的版权。提供的文档根据GNU自由文档许可协议版本1.3的条件进行许可,该协议由自由软件基金会发布。Qt及其相关标志是Qt公司在芬兰和/或全球其他国家的商标。所有其他商标均属于各自所有者。