zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TranslatorGLSL Class Reference

#include <TranslatorGLSL.h>

Inherits TCompiler.

Public Member Functions

 TranslatorGLSL (ShShaderType type, ShShaderSpec spec)
 
- Public Member Functions inherited from TCompiler
 TCompiler (ShShaderType type, ShShaderSpec spec)
 
virtual ~TCompiler ()
 
bool compile (const char *const shaderStrings[], size_t numStrings, int compileOptions)
 
virtual TCompilergetAsCompiler ()
 
const TVariableInfoListgetAttribs () const
 
ShHashFunction64 getHashFunction () const
 
TInfoSinkgetInfoSink ()
 
int getMappedNameMaxLength () const
 
NameMapgetNameMap ()
 
TSymbolTablegetSymbolTable ()
 
const TVariableInfoListgetUniforms () const
 
bool Init (const ShBuiltInResources &resources)
 
- Public Member Functions inherited from TShHandleBase
 TShHandleBase ()
 
virtual ~TShHandleBase ()
 
virtual TranslatorHLSLgetAsTranslatorHLSL ()
 

Protected Member Functions

virtual void translate (TIntermNode *root)
 
- Protected Member Functions inherited from TCompiler
void clearResults ()
 
void collectAttribsUniforms (TIntermNode *root)
 
bool detectCallDepth (TIntermNode *root, TInfoSink &infoSink, bool limitCallStackDepth)
 
bool enforceFragmentShaderTimingRestrictions (const TDependencyGraph &graph)
 
bool enforcePackingRestrictions ()
 
bool enforceTimingRestrictions (TIntermNode *root, bool outputGraph)
 
bool enforceVertexShaderTimingRestrictions (TIntermNode *root)
 
const ArrayBoundsClampergetArrayBoundsClamper () const
 
ShArrayIndexClampingStrategy getArrayIndexClampingStrategy () const
 
const BuiltInFunctionEmulatorgetBuiltInFunctionEmulator () const
 
const TExtensionBehaviorgetExtensionBehavior () const
 
const ShBuiltInResourcesgetResources () const
 
ShShaderSpec getShaderSpec () const
 
ShShaderType getShaderType () const
 
bool InitBuiltInSymbolTable (const ShBuiltInResources &resources)
 
bool limitExpressionComplexity (TIntermNode *root)
 
void mapLongVariableNames (TIntermNode *root)
 
void rewriteCSSShader (TIntermNode *root)
 
bool validateLimitations (TIntermNode *root)
 

Additional Inherited Members

- Protected Attributes inherited from TShHandleBase
TPoolAllocator allocator
 

Detailed Description

Definition at line 12 of file TranslatorGLSL.h.

Constructor & Destructor Documentation

TranslatorGLSL::TranslatorGLSL ( ShShaderType  type,
ShShaderSpec  spec 
)

Definition at line 24 of file TranslatorGLSL.cpp.

Member Function Documentation


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