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
QSGGuiThreadShaderEffectManager::ShaderInfo Struct Reference

#include <qsgadaptationlayer_p.h>

+ Collaboration diagram for QSGGuiThreadShaderEffectManager::ShaderInfo:

Classes

struct  Variable
 

Public Types

enum  Type { TypeVertex , TypeFragment , TypeOther }
 
enum  VariableType { Constant , Sampler , Texture }
 

Public Attributes

QString name
 
QShader rhiShader
 
Type type
 
QVector< Variablevariables
 

Detailed Description

Definition at line 251 of file qsgadaptationlayer_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
TypeVertex 
TypeFragment 
TypeOther 

Definition at line 252 of file qsgadaptationlayer_p.h.

◆ VariableType

Enumerator
Constant 
Sampler 
Texture 

Definition at line 257 of file qsgadaptationlayer_p.h.

Member Data Documentation

◆ name

QString QSGGuiThreadShaderEffectManager::ShaderInfo::name

Definition at line 270 of file qsgadaptationlayer_p.h.

Referenced by QSGRhiShaderEffectNode::syncMaterial().

◆ rhiShader

QShader QSGGuiThreadShaderEffectManager::ShaderInfo::rhiShader

Definition at line 271 of file qsgadaptationlayer_p.h.

◆ type

Type QSGGuiThreadShaderEffectManager::ShaderInfo::type

Definition at line 272 of file qsgadaptationlayer_p.h.

◆ variables

QVector<Variable> QSGGuiThreadShaderEffectManager::ShaderInfo::variables

Definition at line 273 of file qsgadaptationlayer_p.h.


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