QShaderDescription::StorageBlock Struct

struct QShaderDescription::StorageBlock

描述着色器存储块。更多

此结构在 Qt 6.6 中引入。

公共变量

int binding
QByteArray blockName
int descriptorSet
QByteArray instanceName
int knownSize
QList<QShaderDescription::BlockVariable> members
QShaderDescription::QualifierFlags qualifierFlags
int runtimeArrayStride
bool operator==(const QShaderDescription::StorageBlock &lhs, const QShaderDescription::StorageBlock &rhs)

详细说明

注意: 这是一个 RHI API,具有有限的兼容性保证,详情请参见QShaderDescription

成员变量文档

int StorageBlock::binding

QByteArray StorageBlock::blockName

int StorageBlock::descriptorSet

QByteArray StorageBlock::instanceName

int StorageBlock::knownSize

QList<QShaderDescription::BlockVariable> StorageBlock::members

QShaderDescription::QualifierFlags StorageBlock::qualifierFlags

int StorageBlock::runtimeArrayStride

相关非会员

[noexcept] bool operator==(const QShaderDescription::StorageBlock &lhs, const QShaderDescription::StorageBlock &rhs)

如果两个StorageBlock 对象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.