HLSL target language writer implementation.
More...
#include <OgreShaderHLSLProgramWriter.h>
|
| HLSLProgramWriter () |
| Class constructor.
|
|
virtual | ~HLSLProgramWriter () |
| 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) |
|
|
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, const char *forcedSemantic) |
| 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.
|
|
HLSL target language writer implementation.
- See also
- ProgramWriter.
Definition at line 46 of file OgreShaderHLSLProgramWriter.h.
◆ GpuConstTypeToStringMap
◆ ParamSemanticToStringMap
◆ HLSLProgramWriter()
Ogre::RTShader::HLSLProgramWriter::HLSLProgramWriter |
( |
| ) |
|
◆ ~HLSLProgramWriter()
virtual Ogre::RTShader::HLSLProgramWriter::~HLSLProgramWriter |
( |
| ) |
|
|
virtual |
◆ getTargetLanguage()
virtual const String & Ogre::RTShader::HLSLProgramWriter::getTargetLanguage |
( |
| ) |
const |
|
virtual |
◆ initializeStringMaps()
void Ogre::RTShader::HLSLProgramWriter::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 |
◆ writeAtomInstance()
void Ogre::RTShader::HLSLProgramWriter::writeAtomInstance |
( |
std::ostream & |
os, |
|
|
FunctionAtom * |
atom |
|
) |
| |
|
protected |
Write function atom instance.
◆ writeFunctionDeclaration()
void Ogre::RTShader::HLSLProgramWriter::writeFunctionDeclaration |
( |
std::ostream & |
os, |
|
|
Function * |
function |
|
) |
| |
|
protected |
Write a function declaration.
◆ writeFunctionParameter()
void Ogre::RTShader::HLSLProgramWriter::writeFunctionParameter |
( |
std::ostream & |
os, |
|
|
ParameterPtr |
parameter, |
|
|
const char * |
forcedSemantic |
|
) |
| |
|
protected |
Write a function parameter.
◆ writeFunctionTitle()
void Ogre::RTShader::ProgramWriter::writeFunctionTitle |
( |
std::ostream & |
os, |
|
|
Function * |
function |
|
) |
| |
|
protectedinherited |
◆ writeLocalParameter()
void Ogre::RTShader::HLSLProgramWriter::writeLocalParameter |
( |
std::ostream & |
os, |
|
|
ParameterPtr |
parameter |
|
) |
| |
|
protected |
◆ writeProgramDependencies()
void Ogre::RTShader::HLSLProgramWriter::writeProgramDependencies |
( |
std::ostream & |
os, |
|
|
Program * |
program |
|
) |
| |
|
protected |
Write the program dependencies.
◆ writeProgramTitle()
void Ogre::RTShader::ProgramWriter::writeProgramTitle |
( |
std::ostream & |
os, |
|
|
Program * |
program |
|
) |
| |
|
protectedinherited |
◆ writeSourceCode()
virtual void Ogre::RTShader::HLSLProgramWriter::writeSourceCode |
( |
std::ostream & |
os, |
|
|
Program * |
program |
|
) |
| |
|
virtual |
◆ writeUniformParameter()
void Ogre::RTShader::HLSLProgramWriter::writeUniformParameter |
( |
std::ostream & |
os, |
|
|
UniformParameterPtr |
parameter |
|
) |
| |
|
protected |
Write a uniform parameter.
◆ writeUniformParametersTitle()
void Ogre::RTShader::ProgramWriter::writeUniformParametersTitle |
( |
std::ostream & |
os, |
|
|
Program * |
program |
|
) |
| |
|
protectedinherited |
Write the uniform parameters title.
◆ mGpuConstTypeMap
◆ mIsShaderModel4
bool Ogre::RTShader::HLSLProgramWriter::mIsShaderModel4 |
|
protected |
◆ mParamSemanticMap
◆ TargetLanguage
String Ogre::RTShader::HLSLProgramWriter::TargetLanguage |
|
static |
The documentation for this class was generated from the following file: