|
OGRE
1.9.0
|
GLSL ES target language writer implementation. More...
#include <OgreShaderGLSLESProgramWriter.h>

Public Member Functions | |
| GLSLESProgramWriter () | |
| Class constructor. | |
| virtual | ~GLSLESProgramWriter () |
| Class destructor. | |
| virtual const String & | getTargetLanguage () const |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void * | operator new (size_t sz) |
| 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, 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 *ptr) |
| placement operator new | |
| void * | operator new[] (size_t sz) |
| 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 | |
| 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) |
Static Public Attributes | |
| static String | TargetLanguage |
Protected Types | |
| typedef map< FunctionInvocation, String >::type | FunctionMap |
| typedef FunctionMap::const_iterator | FunctionMapIterator |
| typedef vector< FunctionInvocation >::type | FunctionVector |
| typedef FunctionVector::const_iterator | FunctionVectorIterator |
| typedef map< GpuConstantType, constchar * >::type | GpuConstTypeToStringMap |
| typedef GpuConstTypeToStringMap::const_iterator | GpuConstTypeToStringMapIterator |
| typedef map< Parameter::Content, constchar * >::type | ParamContentToStringMap |
| typedef map< Parameter::Semantic, constchar * >::type | ParamSemanticToStringMap |
| typedef map< String, String >::type | StringMap |
Protected Member Functions | |
| 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.
Definition at line 45 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 75 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 77 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 76 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 78 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 71 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 79 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 73 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 72 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 74 of file OgreShaderGLSLESProgramWriter.h.
| Ogre::RTShader::GLSLESProgramWriter::GLSLESProgramWriter | ( | ) |
Class constructor.
|
virtual |
Class destructor.
|
protectedvirtual |
Cache functions of a dependency.
|
protected |
Create a FunctionInvocation object from a string taken out of a shader library.
|
protected |
Search within a function body for non-builtin functions that a given function invocation depends on.
|
virtual |
Implements Ogre::RTShader::ProgramWriter.
Definition at line 66 of file OgreShaderGLSLESProgramWriter.h.
References TargetLanguage.
|
protected |
Initialize string maps.
|
protected |
Check if a string matches one of the GLSL ES basic types.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
protected |
|
protectedinherited |
Write a function title.
|
protected |
Write the input params of the function.
|
protected |
Write a local parameter.
|
protected |
Write the output params of the function.
|
protected |
Write the program dependencies.
|
protectedinherited |
Write the program title.
|
virtual |
Implements Ogre::RTShader::ProgramWriter.
|
protectedinherited |
Write the uniform parameters title.
|
protected |
Definition at line 125 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 122 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 121 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 124 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 120 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 123 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 116 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 119 of file OgreShaderGLSLESProgramWriter.h.
|
protected |
Definition at line 117 of file OgreShaderGLSLESProgramWriter.h.
|
static |
Definition at line 68 of file OgreShaderGLSLESProgramWriter.h.
Referenced by getTargetLanguage().
1.13.2