QShader::SeparateToCombinedImageSamplerMapping Struct
struct QShader::SeparateToCombinedImageSamplerMapping采样器制服的映射元数据。更多
公共变量
QByteArray | combinedSamplerName |
int | samplerBinding |
int | textureBinding |
详细描述
描述从传统的组合图像采样器制服到独立纹理和采样器绑定点的映射。
例如,如果combinedImageSampler
是"_54"
,textureBinding
是1
,samplerBinding
是2
,这意味着 GLSL 着色器代码包含一个名称为_54
的sampler2D
(或 sampler3D 等)制服,它对应于原始着色器中的两个独立资源绑定(1
和2
)。
注: 这是一个 RHI API,兼容性保证有限,详情请查看QShader 。
成员变量文档
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.