Describes an input or output variable in the shader. 更多...
This struct was introduced in 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 ) |
注意: This is a RHI API with limited compatibility guarantees, see QShaderDescription 了解细节。
[noexcept]
bool
operator==
(const
QShaderDescription::InOutVariable
&
lhs
, const
QShaderDescription::InOutVariable
&
rhs
)
返回
true
若两
InOutVariable
对象
lhs
and
rhs
相等。