Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
\inmodule QtGui More...
#include <qshader.h>
Public Attributes | |
QByteArray | combinedSamplerName |
int | textureBinding |
int | samplerBinding |
\inmodule QtGui
Mapping metadata for sampler uniforms.
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.
QByteArray QShader::SeparateToCombinedImageSamplerMapping::combinedSamplerName |
int QShader::SeparateToCombinedImageSamplerMapping::samplerBinding |
int QShader::SeparateToCombinedImageSamplerMapping::textureBinding |