Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
ShaderGeneratorCommon Struct Reference
Collaboration diagram for ShaderGeneratorCommon:

Public Member Functions

 ShaderGeneratorCommon (QSSGProgramGenerator &gen)
void addUniform (const QByteArray &name, const QByteArray &type)
void addUniformArray (const QByteArray &name, const QByteArray &type, quint32 size)
void addDefinition (const QByteArray &name, const QByteArray &value)
void addInterpolant (const QByteArray &name, const QByteArray &type)
void addFlatInterpolant (const QByteArray &name, const QByteArray &type)
void addPrefix (const QByteArray &prefix)
 ShaderGeneratorCommon (QSSGProgramGenerator &gen)
void addUniform (const QByteArray &name, const QByteArray &type)
void addUniformArray (const QByteArray &name, const QByteArray &type, quint32 size)
void addDefinition (const QByteArray &name, const QByteArray &value)
void addInterpolant (const QByteArray &name, const QByteArray &type)
void addFlatInterpolant (const QByteArray &name, const QByteArray &type)
void addPrefix (const QByteArray &prefix)

Public Attributes

QSSGStageGeneratorBase * vs
QSSGStageGeneratorBase * fs

Detailed Description

Definition at line 665 of file qssgrhiparticles.cpp.

Constructor & Destructor Documentation

◆ ShaderGeneratorCommon() [1/2]

ShaderGeneratorCommon::ShaderGeneratorCommon ( QSSGProgramGenerator & gen)
inline

Definition at line 669 of file qssgrhiparticles.cpp.

References ShaderGeneratorCommon().

Referenced by ShaderGeneratorCommon().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShaderGeneratorCommon() [2/2]

ShaderGeneratorCommon::ShaderGeneratorCommon ( QSSGProgramGenerator & gen)
inline

Definition at line 669 of file qssgrhiparticles.cpp.

Member Function Documentation

◆ addDefinition() [1/2]

void ShaderGeneratorCommon::addDefinition ( const QByteArray & name,
const QByteArray & value )
inline

Definition at line 684 of file qssgrhiparticles.cpp.

◆ addDefinition() [2/2]

void ShaderGeneratorCommon::addDefinition ( const QByteArray & name,
const QByteArray & value )
inline

Definition at line 684 of file qssgrhiparticles.cpp.

◆ addFlatInterpolant() [1/2]

void ShaderGeneratorCommon::addFlatInterpolant ( const QByteArray & name,
const QByteArray & type )
inline

Definition at line 694 of file qssgrhiparticles.cpp.

◆ addFlatInterpolant() [2/2]

void ShaderGeneratorCommon::addFlatInterpolant ( const QByteArray & name,
const QByteArray & type )
inline

Definition at line 694 of file qssgrhiparticles.cpp.

◆ addInterpolant() [1/2]

void ShaderGeneratorCommon::addInterpolant ( const QByteArray & name,
const QByteArray & type )
inline

Definition at line 689 of file qssgrhiparticles.cpp.

◆ addInterpolant() [2/2]

void ShaderGeneratorCommon::addInterpolant ( const QByteArray & name,
const QByteArray & type )
inline

Definition at line 689 of file qssgrhiparticles.cpp.

◆ addPrefix() [1/2]

void ShaderGeneratorCommon::addPrefix ( const QByteArray & prefix)
inline

Definition at line 699 of file qssgrhiparticles.cpp.

◆ addPrefix() [2/2]

void ShaderGeneratorCommon::addPrefix ( const QByteArray & prefix)
inline

Definition at line 699 of file qssgrhiparticles.cpp.

◆ addUniform() [1/2]

void ShaderGeneratorCommon::addUniform ( const QByteArray & name,
const QByteArray & type )
inline

Definition at line 674 of file qssgrhiparticles.cpp.

◆ addUniform() [2/2]

void ShaderGeneratorCommon::addUniform ( const QByteArray & name,
const QByteArray & type )
inline

Definition at line 674 of file qssgrhiparticles.cpp.

◆ addUniformArray() [1/2]

void ShaderGeneratorCommon::addUniformArray ( const QByteArray & name,
const QByteArray & type,
quint32 size )
inline

Definition at line 679 of file qssgrhiparticles.cpp.

◆ addUniformArray() [2/2]

void ShaderGeneratorCommon::addUniformArray ( const QByteArray & name,
const QByteArray & type,
quint32 size )
inline

Definition at line 679 of file qssgrhiparticles.cpp.

Member Data Documentation

◆ fs

QSSGStageGeneratorBase * ShaderGeneratorCommon::fs

Definition at line 668 of file qssgrhiparticles.cpp.

◆ vs

QSSGStageGeneratorBase * ShaderGeneratorCommon::vs

Definition at line 667 of file qssgrhiparticles.cpp.


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