SeparateToCombinedImageSamplerMapping Struct
struct QShader::SeparateToCombinedImageSamplerMappingMapping-Metadaten für Sampler-Uniformen. Mehr...
Öffentliche Variablen
QByteArray | combinedSamplerName |
int | samplerBinding |
int | textureBinding |
Detaillierte Beschreibung
Beschreibt ein Mapping von einer traditionellen kombinierten Bild-Sampler-Uniform zu Bindungspunkten für eine separate Textur und einen Sampler.
Wenn z. B. combinedImageSampler
gleich "_54"
, textureBinding
gleich 1
und samplerBinding
gleich 2
ist, bedeutet dies, dass der GLSL-Shader-Code eine sampler2D
(oder sampler3D usw.) Uniform mit dem Namen _54
enthält, die zwei separaten Ressourcenbindungen (1
und 2
) im ursprünglichen Shader entspricht.
Hinweis: Dies ist eine RHI-API mit eingeschränkten Kompatibilitätsgarantien, siehe QShader für Details.
Dokumentation der Mitgliedsvariablen
QByteArray SeparateToCombinedImageSamplerMapping::combinedSamplerName
int SeparateToCombinedImageSamplerMapping::samplerBinding
int SeparateToCombinedImageSamplerMapping::textureBinding
© 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.