Mapping metadata for sampler uniforms. 更多...
QByteArray | combinedSamplerName |
int | samplerBinding |
int | textureBinding |
Describes a mapping from a traditional combined image sampler uniform to binding points for a separate texture and sampler.
例如,若
combinedImageSampler
is
"_54"
,
textureBinding
is
1
,和
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.
注意: This is a RHI API with limited compatibility guarantees, see QShader 了解细节。