GLSL target language writer implementation.
More...
#include <OgreShaderGLSLProgramWriter.h>
|
| GLSLProgramWriter () |
| Class constructor.
|
|
virtual | ~GLSLProgramWriter () |
| 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) |
|
GLSL target language writer implementation.
- See also
- ProgramWriter.
Definition at line 45 of file OgreShaderGLSLProgramWriter.h.
◆ GpuConstTypeToStringMap
◆ ParamContentToStringMap
◆ ParamSemanticToStringMap
◆ StringMap
◆ GLSLProgramWriter()
Ogre::RTShader::GLSLProgramWriter::GLSLProgramWriter |
( |
| ) |
|
◆ ~GLSLProgramWriter()
virtual Ogre::RTShader::GLSLProgramWriter::~GLSLProgramWriter |
( |
| ) |
|
|
virtual |
◆ getTargetLanguage()
virtual const String & Ogre::RTShader::GLSLProgramWriter::getTargetLanguage |
( |
| ) |
const |
|
virtual |
◆ initializeStringMaps()
void Ogre::RTShader::GLSLProgramWriter::initializeStringMaps |
( |
| ) |
|
|
protected |
◆ 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]
template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inherited |
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inherited |
◆ writeForwardDeclarations()
void Ogre::RTShader::GLSLProgramWriter::writeForwardDeclarations |
( |
std::ostream & |
os, |
|
|
Program * |
program |
|
) |
| |
|
protected |
Write forward declarations.
This is needed so that we can attach library shader at a later step.
◆ writeFunctionTitle()
void Ogre::RTShader::ProgramWriter::writeFunctionTitle |
( |
std::ostream & |
os, |
|
|
Function * |
function |
|
) |
| |
|
protectedinherited |
◆ writeInputParameters()
void Ogre::RTShader::GLSLProgramWriter::writeInputParameters |
( |
std::ostream & |
os, |
|
|
Function * |
function, |
|
|
GpuProgramType |
gpuType |
|
) |
| |
|
protected |
Write the input params of the function.
◆ writeLocalParameter()
void Ogre::RTShader::GLSLProgramWriter::writeLocalParameter |
( |
std::ostream & |
os, |
|
|
ParameterPtr |
parameter |
|
) |
| |
|
protected |
◆ writeOutParameters()
void Ogre::RTShader::GLSLProgramWriter::writeOutParameters |
( |
std::ostream & |
os, |
|
|
Function * |
function, |
|
|
GpuProgramType |
gpuType |
|
) |
| |
|
protected |
Write the output params of the function.
◆ writeProgramTitle()
void Ogre::RTShader::ProgramWriter::writeProgramTitle |
( |
std::ostream & |
os, |
|
|
Program * |
program |
|
) |
| |
|
protectedinherited |
◆ writeSourceCode()
virtual void Ogre::RTShader::GLSLProgramWriter::writeSourceCode |
( |
std::ostream & |
os, |
|
|
Program * |
program |
|
) |
| |
|
virtual |
◆ writeUniformParametersTitle()
void Ogre::RTShader::ProgramWriter::writeUniformParametersTitle |
( |
std::ostream & |
os, |
|
|
Program * |
program |
|
) |
| |
|
protectedinherited |
Write the uniform parameters title.
◆ mContentToPerVertexAttributes
◆ mFragInputParams
StringVector Ogre::RTShader::GLSLProgramWriter::mFragInputParams |
|
protected |
◆ mGLSLVersion
int Ogre::RTShader::GLSLProgramWriter::mGLSLVersion |
|
protected |
◆ mGpuConstTypeMap
◆ mInputToGLStatesMap
StringMap Ogre::RTShader::GLSLProgramWriter::mInputToGLStatesMap |
|
protected |
◆ mParamSemanticMap
◆ TargetLanguage
String Ogre::RTShader::GLSLProgramWriter::TargetLanguage |
|
static |
The documentation for this class was generated from the following file: