zenilib
0.5.3.0
|
#include <TranslatorHLSL.h>
Inherits TCompiler.
Public Member Functions | |
TranslatorHLSL (ShShaderType type, ShShaderSpec spec, ShShaderOutput output) | |
virtual TranslatorHLSL * | getAsTranslatorHLSL () |
const sh::ActiveUniforms & | getUniforms () |
![]() | |
TCompiler (ShShaderType type, ShShaderSpec spec) | |
virtual | ~TCompiler () |
bool | compile (const char *const shaderStrings[], size_t numStrings, int compileOptions) |
virtual TCompiler * | getAsCompiler () |
const TVariableInfoList & | getAttribs () const |
ShHashFunction64 | getHashFunction () const |
TInfoSink & | getInfoSink () |
int | getMappedNameMaxLength () const |
NameMap & | getNameMap () |
TSymbolTable & | getSymbolTable () |
const TVariableInfoList & | getUniforms () const |
bool | Init (const ShBuiltInResources &resources) |
![]() | |
TShHandleBase () | |
virtual | ~TShHandleBase () |
Protected Attributes | |
sh::ActiveUniforms | mActiveUniforms |
ShShaderOutput | mOutputType |
![]() | |
TPoolAllocator | allocator |
Definition at line 13 of file TranslatorHLSL.h.
TranslatorHLSL::TranslatorHLSL | ( | ShShaderType | type, |
ShShaderSpec | spec, | ||
ShShaderOutput | output | ||
) |
Definition at line 12 of file TranslatorHLSL.cpp.
|
inlinevirtual |
Reimplemented from TShHandleBase.
Definition at line 17 of file TranslatorHLSL.h.
|
inline |
Definition at line 18 of file TranslatorHLSL.h.
References mActiveUniforms.
Referenced by ShGetInfoPointer().
|
protectedvirtual |
Implements TCompiler.
Definition at line 17 of file TranslatorHLSL.cpp.
References GetGlobalParseContext(), TCompiler::getResources(), sh::OutputHLSL::getUniforms(), mActiveUniforms, mOutputType, and sh::OutputHLSL::output().
|
protected |
Definition at line 23 of file TranslatorHLSL.h.
Referenced by getUniforms(), and translate().
|
protected |
Definition at line 24 of file TranslatorHLSL.h.
Referenced by translate().