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>.
Loading...
Searching...
No Matches
QShader::SeparateToCombinedImageSamplerMapping Struct Reference

\inmodule QtGui More...

#include <qshader.h>

+ Collaboration diagram for QShader::SeparateToCombinedImageSamplerMapping:

Public Attributes

QByteArray combinedSamplerName
 
int textureBinding
 
int samplerBinding
 

Detailed Description

\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.

Note
This is a RHI API with limited compatibility guarantees, see \l QShader for details.

Definition at line 148 of file qshader.h.

Member Data Documentation

◆ combinedSamplerName

QByteArray QShader::SeparateToCombinedImageSamplerMapping::combinedSamplerName

Definition at line 149 of file qshader.h.

◆ samplerBinding

int QShader::SeparateToCombinedImageSamplerMapping::samplerBinding

Definition at line 151 of file qshader.h.

◆ textureBinding

int QShader::SeparateToCombinedImageSamplerMapping::textureBinding

Definition at line 150 of file qshader.h.


The documentation for this struct was generated from the following file: