GLSL ES target language writer implementation.
More...
#include <OgreShaderGLSLESProgramWriter.h>
|
| | GLSLESProgramWriter () |
| | Class constructor.
|
| |
| virtual | ~GLSLESProgramWriter () |
| | Class destructor.
|
| |
| virtual const String & | getTargetLanguage () const |
| |
| void | operator delete (void *ptr) |
| |
| void | operator delete (void *ptr, const char *, int, const char *) |
| |
| void | operator delete (void *ptr, void *) |
| |
| void | operator delete[] (void *ptr) |
| |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| |
| void * | operator new (size_t sz) |
| |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| | operator new, with debug line info
|
| |
| void * | operator new (size_t sz, void *ptr) |
| | placement operator new
|
| |
| void * | operator new[] (size_t sz) |
| |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| | array operator new, with debug line info
|
| |
| virtual void | writeSourceCode (std::ostream &os, Program *program) |
| |
|
| virtual void | cacheDependencyFunctions (const String &libName) |
| | Cache functions of a dependency.
|
| |
| FunctionInvocation * | createInvocationFromString (const String &input) |
| | Create a FunctionInvocation object from a string taken out of a shader library.
|
| |
| void | discoverFunctionDependencies (const FunctionInvocation &invoc, FunctionVector &depVector) |
| | Search within a function body for non-builtin functions that a given function invocation depends on.
|
| |
| void | initializeStringMaps () |
| | Initialize string maps.
|
| |
| bool | isBasicType (String &type) |
| | Check if a string matches one of the GLSL ES basic types.
|
| |
| String | processOperand (Operand op, GpuProgramType gpuType) |
| |
| void | writeFunctionTitle (std::ostream &os, Function *function) |
| | Write a function title.
|
| |
| void | writeInputParameters (std::ostream &os, Function *function, GpuProgramType gpuType) |
| | Write the input params of the function.
|
| |
| void | writeLocalParameter (std::ostream &os, ParameterPtr parameter) |
| | Write a local parameter.
|
| |
| void | writeOutParameters (std::ostream &os, Function *function, GpuProgramType gpuType) |
| | Write the output params of the function.
|
| |
| void | writeProgramDependencies (std::ostream &os, Program *program) |
| | Write the program dependencies.
|
| |
| void | writeProgramTitle (std::ostream &os, Program *program) |
| | Write the program title.
|
| |
| void | writeUniformParametersTitle (std::ostream &os, Program *program) |
| | Write the uniform parameters title.
|
| |
GLSL ES target language writer implementation.
- See also
- ProgramWriter.
Definition at line 45 of file OgreShaderGLSLESProgramWriter.h.
◆ FunctionMap
◆ FunctionMapIterator
◆ FunctionVector
◆ FunctionVectorIterator
◆ GpuConstTypeToStringMap
◆ GpuConstTypeToStringMapIterator
◆ ParamContentToStringMap
◆ ParamSemanticToStringMap
◆ StringMap
◆ GLSLESProgramWriter()
| Ogre::RTShader::GLSLESProgramWriter::GLSLESProgramWriter |
( |
| ) |
|
◆ ~GLSLESProgramWriter()
| virtual Ogre::RTShader::GLSLESProgramWriter::~GLSLESProgramWriter |
( |
| ) |
|
|
virtual |
◆ cacheDependencyFunctions()
Cache functions of a dependency.
◆ createInvocationFromString()
◆ discoverFunctionDependencies()
Search within a function body for non-builtin functions that a given function invocation depends on.
◆ getTargetLanguage()
◆ initializeStringMaps()
| void Ogre::RTShader::GLSLESProgramWriter::initializeStringMaps |
( |
| ) |
|
|
protected |
◆ isBasicType()
| bool Ogre::RTShader::GLSLESProgramWriter::isBasicType |
( |
String & | type | ) |
|
|
protected |
Check if a string matches one of the GLSL ES basic types.
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
◆ processOperand()
◆ writeFunctionTitle()
| void Ogre::RTShader::ProgramWriter::writeFunctionTitle |
( |
std::ostream & | os, |
|
|
Function * | function ) |
|
protectedinherited |
◆ writeInputParameters()
Write the input params of the function.
◆ writeLocalParameter()
| void Ogre::RTShader::GLSLESProgramWriter::writeLocalParameter |
( |
std::ostream & | os, |
|
|
ParameterPtr | parameter ) |
|
protected |
◆ writeOutParameters()
Write the output params of the function.
◆ writeProgramDependencies()
| void Ogre::RTShader::GLSLESProgramWriter::writeProgramDependencies |
( |
std::ostream & | os, |
|
|
Program * | program ) |
|
protected |
Write the program dependencies.
◆ writeProgramTitle()
| void Ogre::RTShader::ProgramWriter::writeProgramTitle |
( |
std::ostream & | os, |
|
|
Program * | program ) |
|
protectedinherited |
◆ writeSourceCode()
| virtual void Ogre::RTShader::GLSLESProgramWriter::writeSourceCode |
( |
std::ostream & | os, |
|
|
Program * | program ) |
|
virtual |
◆ writeUniformParametersTitle()
| void Ogre::RTShader::ProgramWriter::writeUniformParametersTitle |
( |
std::ostream & | os, |
|
|
Program * | program ) |
|
protectedinherited |
Write the uniform parameters title.
◆ mCachedFunctionLibraries
| StringMap Ogre::RTShader::GLSLESProgramWriter::mCachedFunctionLibraries |
|
protected |
◆ mContentToPerVertexAttributes
◆ mDefinesMap
| StringMap Ogre::RTShader::GLSLESProgramWriter::mDefinesMap |
|
protected |
◆ mFragInputParams
| StringVector Ogre::RTShader::GLSLESProgramWriter::mFragInputParams |
|
protected |
◆ mFunctionCacheMap
| FunctionMap Ogre::RTShader::GLSLESProgramWriter::mFunctionCacheMap |
|
protected |
◆ mGLSLVersion
| int Ogre::RTShader::GLSLESProgramWriter::mGLSLVersion |
|
protected |
◆ mGpuConstTypeMap
◆ mInputToGLStatesMap
| StringMap Ogre::RTShader::GLSLESProgramWriter::mInputToGLStatesMap |
|
protected |
◆ mParamSemanticMap
◆ TargetLanguage
| String Ogre::RTShader::GLSLESProgramWriter::TargetLanguage |
|
static |
The documentation for this class was generated from the following file: