QShaderDescription::UniformBlock Struct
struct QShaderDescription::UniformBlock均一なブロックについて説明します。詳細...
この構造体はQt 6.6で導入されました。
パブリック変数
| int | binding |
| QByteArray | blockName |
| int | descriptorSet |
| QList<QShaderDescription::BlockVariable> | members |
| int | size |
| QByteArray | structName |
関連する非メンバ
| bool | operator==(const QShaderDescription::UniformBlock &lhs, const QShaderDescription::UniformBlock &rhs) |
詳細な説明
注: uniform ブロックをサポートしていないシェーディング言語(GLSL 120 や GLSL/ES 100 など)に変換する場合 、uniform ブロックは構造体内の通常の uniform に置き換えられます。構造体の名前、つまりブロックメンバーから生成される uniform のプレフィックスは、structName によって指定されます。
注:これは 互換性の保証が限定的な RHI API です。詳細については、QShaderDescription を参照してください。
メンバ変数のドキュメント
int UniformBlock::binding
QByteArray UniformBlock::blockName
int UniformBlock::descriptorSet
QList<QShaderDescription::BlockVariable> UniformBlock::members
int UniformBlock::size
QByteArray UniformBlock::structName
関連する非会員
[noexcept] bool operator==(const QShaderDescription::UniformBlock &lhs, const QShaderDescription::UniformBlock &rhs)
2つのUniformBlock オブジェクトlhs とrhs が等しい場合、true を返します。
© 2026 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.