RetroArch
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
glslang::TReflection Class Reference

#include <reflection.h>

Collaboration diagram for glslang::TReflection:
[legend]

Public Member Functions

 TReflection ()
 
virtual ~TReflection ()
 
bool addStage (EShLanguage, const TIntermediate &)
 
int getNumUniforms ()
 
const TObjectReflectiongetUniform (int i) const
 
int getNumUniformBlocks () const
 
const TObjectReflectiongetUniformBlock (int i) const
 
int getNumAttributes ()
 
const TObjectReflectiongetAttribute (int i) const
 
int getIndex (const char *name) const
 
int getIndex (const TString &name) const
 
unsigned getLocalSize (int dim) const
 
void dump ()
 

Protected Types

typedef std::map< TString, int > TNameToIndex
 
typedef std::vector< TObjectReflectionTMapIndexToReflection
 

Protected Member Functions

void buildCounterIndices (const TIntermediate &)
 
void buildAttributeReflection (EShLanguage, const TIntermediate &)
 

Protected Attributes

TObjectReflection badReflection
 
TNameToIndex nameToIndex
 
TMapIndexToReflection indexToUniform
 
TMapIndexToReflection indexToUniformBlock
 
TMapIndexToReflection indexToAttribute
 
unsigned int localSize [3]
 

Friends

class glslang::TReflectionTraverser
 

Member Typedef Documentation

◆ TMapIndexToReflection

◆ TNameToIndex

typedef std::map<TString, int> glslang::TReflection::TNameToIndex
protected

Constructor & Destructor Documentation

◆ TReflection()

glslang::TReflection::TReflection ( )
inline

◆ ~TReflection()

virtual glslang::TReflection::~TReflection ( )
inlinevirtual

Member Function Documentation

◆ addStage()

bool glslang::TReflection::addStage ( EShLanguage  stage,
const TIntermediate intermediate 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ buildAttributeReflection()

void glslang::TReflection::buildAttributeReflection ( EShLanguage  stage,
const TIntermediate intermediate 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ buildCounterIndices()

void glslang::TReflection::buildCounterIndices ( const TIntermediate intermediate)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dump()

void glslang::TReflection::dump ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAttribute()

const TObjectReflection& glslang::TReflection::getAttribute ( int  i) const
inline
Here is the caller graph for this function:

◆ getIndex() [1/2]

int glslang::TReflection::getIndex ( const char *  name) const
inline
Here is the caller graph for this function:

◆ getIndex() [2/2]

int glslang::TReflection::getIndex ( const TString name) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLocalSize()

unsigned glslang::TReflection::getLocalSize ( int  dim) const
inline
Here is the caller graph for this function:

◆ getNumAttributes()

int glslang::TReflection::getNumAttributes ( )
inline
Here is the caller graph for this function:

◆ getNumUniformBlocks()

int glslang::TReflection::getNumUniformBlocks ( ) const
inline
Here is the caller graph for this function:

◆ getNumUniforms()

int glslang::TReflection::getNumUniforms ( )
inline
Here is the caller graph for this function:

◆ getUniform()

const TObjectReflection& glslang::TReflection::getUniform ( int  i) const
inline
Here is the caller graph for this function:

◆ getUniformBlock()

const TObjectReflection& glslang::TReflection::getUniformBlock ( int  i) const
inline
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ glslang::TReflectionTraverser

friend class glslang::TReflectionTraverser
friend

Member Data Documentation

◆ badReflection

TObjectReflection glslang::TReflection::badReflection
protected

◆ indexToAttribute

TMapIndexToReflection glslang::TReflection::indexToAttribute
protected

◆ indexToUniform

TMapIndexToReflection glslang::TReflection::indexToUniform
protected

◆ indexToUniformBlock

TMapIndexToReflection glslang::TReflection::indexToUniformBlock
protected

◆ localSize

unsigned int glslang::TReflection::localSize[3]
protected

◆ nameToIndex

TNameToIndex glslang::TReflection::nameToIndex
protected

The documentation for this class was generated from the following files: