RetroArch
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
glslang::TProgram Class Reference

#include <ShaderLang.h>

Collaboration diagram for glslang::TProgram:
[legend]

Public Member Functions

 TProgram ()
 
virtual ~TProgram ()
 
void addShader (TShader *shader)
 
bool link (EShMessages)
 
const char * getInfoLog ()
 
const char * getInfoDebugLog ()
 
TIntermediategetIntermediate (EShLanguage stage) const
 
bool buildReflection ()
 
int getNumLiveUniformVariables () const
 
int getNumLiveUniformBlocks () const
 
const char * getUniformName (int index) const
 
const char * getUniformBlockName (int blockIndex) const
 
int getUniformBlockSize (int blockIndex) const
 
int getUniformIndex (const char *name) const
 
int getUniformBinding (int index) const
 
int getUniformBlockBinding (int index) const
 
int getUniformBlockIndex (int index) const
 
int getUniformBlockCounterIndex (int index) const
 
int getUniformType (int index) const
 
int getUniformBufferOffset (int index) const
 
int getUniformArraySize (int index) const
 
int getNumLiveAttributes () const
 
unsigned getLocalSize (int dim) const
 
const char * getAttributeName (int index) const
 
int getAttributeType (int index) const
 
const TTypegetUniformTType (int index) const
 
const TTypegetUniformBlockTType (int index) const
 
const TTypegetAttributeTType (int index) const
 
void dumpReflection ()
 
bool mapIO (TIoMapResolver *resolver=NULL)
 

Protected Member Functions

bool linkStage (EShLanguage, EShMessages)
 

Protected Attributes

TPoolAllocatorpool
 
std::list< TShader * > stages [EShLangCount]
 
TIntermediateintermediate [EShLangCount]
 
bool newedIntermediate [EShLangCount]
 
TInfoSinkinfoSink
 
TReflectionreflection
 
TIoMapperioMapper
 
bool linked
 

Private Member Functions

 TProgram (TProgram &)
 
TProgramoperator= (TProgram &)
 

Constructor & Destructor Documentation

◆ TProgram() [1/2]

glslang::TProgram::TProgram ( )

◆ ~TProgram()

glslang::TProgram::~TProgram ( )
virtual

◆ TProgram() [2/2]

glslang::TProgram::TProgram ( TProgram )
private

Member Function Documentation

◆ addShader()

void glslang::TProgram::addShader ( TShader shader)
inline

◆ buildReflection()

bool glslang::TProgram::buildReflection ( )
Here is the call graph for this function:

◆ dumpReflection()

void glslang::TProgram::dumpReflection ( )
Here is the call graph for this function:

◆ getAttributeName()

const char * glslang::TProgram::getAttributeName ( int  index) const
Here is the call graph for this function:

◆ getAttributeTType()

const TType * glslang::TProgram::getAttributeTType ( int  index) const
Here is the call graph for this function:

◆ getAttributeType()

int glslang::TProgram::getAttributeType ( int  index) const
Here is the call graph for this function:

◆ getInfoDebugLog()

const char * glslang::TProgram::getInfoDebugLog ( )
Here is the call graph for this function:

◆ getInfoLog()

const char * glslang::TProgram::getInfoLog ( )
Here is the call graph for this function:

◆ getIntermediate()

TIntermediate* glslang::TProgram::getIntermediate ( EShLanguage  stage) const
inline

◆ getLocalSize()

unsigned glslang::TProgram::getLocalSize ( int  dim) const
Here is the call graph for this function:

◆ getNumLiveAttributes()

int glslang::TProgram::getNumLiveAttributes ( ) const
Here is the call graph for this function:

◆ getNumLiveUniformBlocks()

int glslang::TProgram::getNumLiveUniformBlocks ( ) const
Here is the call graph for this function:

◆ getNumLiveUniformVariables()

int glslang::TProgram::getNumLiveUniformVariables ( ) const
Here is the call graph for this function:

◆ getUniformArraySize()

int glslang::TProgram::getUniformArraySize ( int  index) const
Here is the call graph for this function:

◆ getUniformBinding()

int glslang::TProgram::getUniformBinding ( int  index) const
Here is the call graph for this function:

◆ getUniformBlockBinding()

int glslang::TProgram::getUniformBlockBinding ( int  index) const
Here is the call graph for this function:

◆ getUniformBlockCounterIndex()

int glslang::TProgram::getUniformBlockCounterIndex ( int  index) const
Here is the call graph for this function:

◆ getUniformBlockIndex()

int glslang::TProgram::getUniformBlockIndex ( int  index) const
Here is the call graph for this function:

◆ getUniformBlockName()

const char * glslang::TProgram::getUniformBlockName ( int  blockIndex) const
Here is the call graph for this function:

◆ getUniformBlockSize()

int glslang::TProgram::getUniformBlockSize ( int  blockIndex) const
Here is the call graph for this function:

◆ getUniformBlockTType()

const TType * glslang::TProgram::getUniformBlockTType ( int  index) const
Here is the call graph for this function:

◆ getUniformBufferOffset()

int glslang::TProgram::getUniformBufferOffset ( int  index) const
Here is the call graph for this function:

◆ getUniformIndex()

int glslang::TProgram::getUniformIndex ( const char *  name) const
Here is the call graph for this function:

◆ getUniformName()

const char * glslang::TProgram::getUniformName ( int  index) const
Here is the call graph for this function:

◆ getUniformTType()

const TType * glslang::TProgram::getUniformTType ( int  index) const
Here is the call graph for this function:

◆ getUniformType()

int glslang::TProgram::getUniformType ( int  index) const
Here is the call graph for this function:

◆ link()

bool glslang::TProgram::link ( EShMessages  messages)
Here is the call graph for this function:

◆ linkStage()

bool glslang::TProgram::linkStage ( EShLanguage  stage,
EShMessages  messages 
)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mapIO()

bool glslang::TProgram::mapIO ( TIoMapResolver resolver = NULL)
Here is the call graph for this function:

◆ operator=()

TProgram& glslang::TProgram::operator= ( TProgram )
private

Member Data Documentation

◆ infoSink

TInfoSink* glslang::TProgram::infoSink
protected

◆ intermediate

TIntermediate* glslang::TProgram::intermediate[EShLangCount]
protected

◆ ioMapper

TIoMapper* glslang::TProgram::ioMapper
protected

◆ linked

bool glslang::TProgram::linked
protected

◆ newedIntermediate

bool glslang::TProgram::newedIntermediate[EShLangCount]
protected

◆ pool

TPoolAllocator* glslang::TProgram::pool
protected

◆ reflection

TReflection* glslang::TProgram::reflection
protected

◆ stages

std::list<TShader*> glslang::TProgram::stages[EShLangCount]
protected

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