QShaderDescription::BlockVariable Struct

struct QShaderDescription::BlockVariable

描述 uniform 或 push 常量块中的一个成员。更多

此结构在 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)

如果两个BlockVariable 对象lhsrhs 相等,则返回true

© 2025 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.