UniformBlock Struct

struct QShaderDescription::UniformBlock

Beschreibt einen einheitlichen Block. Mehr...

Diese Struktur wurde in Qt 6.6 eingeführt.

Öffentliche Variablen

int binding
QByteArray blockName
int descriptorSet
QList<QShaderDescription::BlockVariable> members
int size
QByteArray structName
bool operator==(const QShaderDescription::UniformBlock &lhs, const QShaderDescription::UniformBlock &rhs)

Detaillierte Beschreibung

Hinweis: Bei der Übersetzung in Shading-Sprachen ohne Uniform-Block-Unterstützung (wie GLSL 120 oder GLSL/ES 100) werden Uniform-Blöcke durch gewöhnliche Uniformen in einer struct ersetzt. Der Name der Struktur, und damit das Präfix für die aus den Blockelementen erzeugten Uniformen, wird durch structName angegeben.

Hinweis: Dies ist eine RHI-API mit eingeschränkten Kompatibilitätsgarantien, siehe QShaderDescription für Details.

Dokumentation der Mitgliedsvariablen

int UniformBlock::binding

QByteArray UniformBlock::blockName

int UniformBlock::descriptorSet

QList<QShaderDescription::BlockVariable> UniformBlock::members

int UniformBlock::size

QByteArray UniformBlock::structName

Verwandte Nicht-Mitglieder

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

Gibt true zurück, wenn die beiden Objekte UniformBlock lhs und rhs gleich sind.

© 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.