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)

詳細な説明

注意: ユニフォームブロックをサポートしていないシェーディング言語(GLSL 120やGLSL/ES 100など)に翻訳する場合、ユニフォームブロックは構造体の中で通常のユニフォームに置き換えられます。構造体の名前、つまりブロックメンバーから生成されるユニフォームの接頭辞は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 オブジェクト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.