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