Auf dieser Seite

QShaderDescription::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)

Ausführliche Beschreibung

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

Hinweis: Dies ist eine RHI-API mit eingeschränkten Kompatibilitätsgarantien; weitere Informationen finden Sie unter QShaderDescription.

Dokumentation zu Member-Variablen

int UniformBlock::binding

QByteArray UniformBlock::blockName

int UniformBlock::descriptorSet

QList<QShaderDescription::BlockVariable> UniformBlock::members

int UniformBlock::size

QByteArray UniformBlock::structName

Verwandte Nichtmitglieder

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

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

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