QShaderDescription::InOutVariable Struct

struct QShaderDescription::InOutVariable

描述着色器中的输入或输出变量。更多

此结构在 Qt 6.6 中引入。

公共变量

QList<int> arrayDims
int binding
int descriptorSet
QShaderDescription::ImageFlags imageFlags
QShaderDescription::ImageFormat imageFormat
int location
QByteArray name
bool perPatch
QList<QShaderDescription::BlockVariable> structMembers
QShaderDescription::VariableType type
bool operator==(const QShaderDescription::InOutVariable &lhs, const QShaderDescription::InOutVariable &rhs)

详细说明

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

成员变量文档

QList<int> InOutVariable::arrayDims

int InOutVariable::binding

int InOutVariable::descriptorSet

QShaderDescription::ImageFlags InOutVariable::imageFlags

QShaderDescription::ImageFormat InOutVariable::imageFormat

int InOutVariable::location

QByteArray InOutVariable::name

bool InOutVariable::perPatch

QList<QShaderDescription::BlockVariable> InOutVariable::structMembers

QShaderDescription::VariableType InOutVariable::type

相关非会员

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

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