GLSL target language writer implementation.
More...
#include <OgreShaderGLSLProgramWriter.h>
|
| GLSLProgramWriter () |
| Class constructor. More...
|
|
virtual | ~GLSLProgramWriter () |
| 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 | writeSourceCode (StringSerialiser &os, Program *program)=0 |
| Write the program shader source code. More...
|
|
GLSL target language writer implementation.
- See also
- ProgramWriter.
Definition at line 45 of file OgreShaderGLSLProgramWriter.h.
Ogre::RTShader::GLSLProgramWriter::GLSLProgramWriter |
( |
| ) |
|
Class constructor.
- Parameters
-
language | The target shader language. |
virtual Ogre::RTShader::GLSLProgramWriter::~GLSLProgramWriter |
( |
| ) |
|
|
virtual |
virtual const String& Ogre::RTShader::GLSLProgramWriter::getTargetLanguage |
( |
| ) |
const |
|
inlinevirtual |
void Ogre::RTShader::GLSLProgramWriter::initializeStringMaps |
( |
| ) |
|
|
protected |
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::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.
void Ogre::RTShader::GLSLProgramWriter::writeInputParameters |
( |
std::ostream & |
os, |
|
|
Function * |
function, |
|
|
GpuProgramType |
gpuType |
|
) |
| |
|
protected |
Write the input params of the function.
void Ogre::RTShader::GLSLProgramWriter::writeLocalParameter |
( |
std::ostream & |
os, |
|
|
ParameterPtr |
parameter |
|
) |
| |
|
protected |
void Ogre::RTShader::GLSLProgramWriter::writeOutParameters |
( |
std::ostream & |
os, |
|
|
Function * |
function, |
|
|
GpuProgramType |
gpuType |
|
) |
| |
|
protected |
Write the output params of the function.
virtual void Ogre::RTShader::GLSLProgramWriter::writeSourceCode |
( |
std::ostream & |
os, |
|
|
Program * |
program |
|
) |
| |
|
virtual |
Write the program shader source code.
- Parameters
-
os | The output stream to write to code into. |
program | The source CPU program for the GPU program code. |
Implemented in Ogre::RTShader::GLSLESProgramWriter.
Write the uniform parameters title.
StringVector Ogre::RTShader::GLSLProgramWriter::mFragInputParams |
|
protected |
int Ogre::RTShader::GLSLProgramWriter::mGLSLVersion |
|
protected |
StringMap Ogre::RTShader::GLSLProgramWriter::mInputToGLStatesMap |
|
protected |
String Ogre::RTShader::GLSLProgramWriter::TargetLanguage |
|
static |
The documentation for this class was generated from the following file: