OGRE
1.9.0
|
CG target language writer implementation. More...
#include <OgreShaderCGProgramWriter.h>
Public Member Functions | |
CGProgramWriter () | |
Class constructor. | |
virtual | ~CGProgramWriter () |
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< GpuConstantType, constchar * >::type | GpuConstTypeToStringMap |
typedef map< Parameter::Semantic, constchar * >::type | ParamSemanticToStringMap |
Protected Member Functions | |
void | initializeStringMaps () |
Initialize string maps. | |
void | writeAtomInstance (std::ostream &os, FunctionAtom *atom) |
Write function atom instance. | |
void | writeFunctionDeclaration (std::ostream &os, Function *function) |
Write a function declaration. | |
void | writeFunctionParameter (std::ostream &os, ParameterPtr parameter) |
Write a function parameter. | |
void | writeFunctionTitle (std::ostream &os, Function *function) |
Write a function title. | |
void | writeLocalParameter (std::ostream &os, ParameterPtr parameter) |
Write a local parameter. | |
void | writeProgramDependencies (std::ostream &os, Program *program) |
Write the program dependencies. | |
void | writeProgramTitle (std::ostream &os, Program *program) |
Write the program title. | |
void | writeUniformParameter (std::ostream &os, UniformParameterPtr parameter) |
Write a uniform parameter. | |
void | writeUniformParametersTitle (std::ostream &os, Program *program) |
Write the uniform parameters title. | |
Protected Attributes | |
GpuConstTypeToStringMap | mGpuConstTypeMap |
ParamSemanticToStringMap | mParamSemanticMap |
CG target language writer implementation.
Definition at line 46 of file OgreShaderCGProgramWriter.h.
|
protected |
Definition at line 97 of file OgreShaderCGProgramWriter.h.
|
protected |
Definition at line 98 of file OgreShaderCGProgramWriter.h.
Ogre::RTShader::CGProgramWriter::CGProgramWriter | ( | ) |
Class constructor.
|
virtual |
Class destructor.
|
virtual |
Implements Ogre::RTShader::ProgramWriter.
Definition at line 67 of file OgreShaderCGProgramWriter.h.
References TargetLanguage.
|
protected |
Initialize string maps.
|
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 |
Write function atom instance.
|
protected |
Write a function declaration.
|
protected |
Write a function parameter.
|
protectedinherited |
Write a function title.
|
protected |
Write a local parameter.
|
protected |
Write the program dependencies.
|
protectedinherited |
Write the program title.
|
virtual |
Implements Ogre::RTShader::ProgramWriter.
|
protected |
Write a uniform parameter.
|
protectedinherited |
Write the uniform parameters title.
|
protected |
Definition at line 103 of file OgreShaderCGProgramWriter.h.
|
protected |
Definition at line 105 of file OgreShaderCGProgramWriter.h.
|
static |
Definition at line 69 of file OgreShaderCGProgramWriter.h.
Referenced by getTargetLanguage().