SeparateToCombinedImageSamplerMapping Struct
struct QShader::SeparateToCombinedImageSamplerMappingMapping metadata for sampler uniforms. More...
Public Variables
QByteArray | combinedSamplerName |
int | samplerBinding |
int | textureBinding |
Detailed Description
Describes a mapping from a traditional combined image sampler uniform to binding points for a separate texture and sampler.
For example, if combinedImageSampler
is "_54"
, textureBinding
is 1
, and samplerBinding
is 2
, this means that the GLSL shader code contains a sampler2D
(or sampler3D, etc.) uniform with the name of _54
which corresponds to two separate resource bindings (1
and 2
) in the original shader.
Note: This is a RHI API with limited compatibility guarantees, see QShader for details.
Member Variable Documentation
QByteArray SeparateToCombinedImageSamplerMapping::combinedSamplerName
int SeparateToCombinedImageSamplerMapping::samplerBinding
int SeparateToCombinedImageSamplerMapping::textureBinding
© 2024 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.