#include <OgreShaderFunctionAtom.h>
Public Types | |
typedef vector< Operand >::type | OperandVector |
Public Member Functions | |
FunctionInvocation (const String &functionName, int groupOrder, int internalOrder, String returnType="void") | |
Class constructor. | |
virtual void | writeSourceCode (std::ostream &os, const String &targetLanguage) const |
virtual const String & | getFunctionAtomType () |
OperandVector & | getOperandList () |
Get a list of parameters this function invocation will use in the function call as arguments. | |
void | pushOperand (ParameterPtr parameter, Operand::OpSemantic opSemantic, int opMask=Operand::OPM_ALL) |
Push a new operand (on the end) to the function. | |
const String & | getFunctionName () const |
Return the function name. | |
const String & | getReturnType () const |
Return the return type. | |
int | getGroupExecutionOrder () const |
Get the group execution order of this function atom. | |
int | getInternalExecutionOrder () const |
Get an internal execution order within a group of this function atom. | |
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 * | operator new (size_t sz, void *ptr) |
placement operator new | |
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) |
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 *) |
Static Public Attributes | |
static String | Type |
The type of this class. | |
Protected Attributes | |
String | mFunctionName |
String | mReturnType |
OperandVector | mOperands |
int | mGroupExecutionOrder |
int | mInteralExecutionOrder |
Definition at line 153 of file OgreShaderFunctionAtom.h.
typedef vector<Operand>::type Ogre::RTShader::FunctionInvocation::OperandVector |
Definition at line 157 of file OgreShaderFunctionAtom.h.
Ogre::RTShader::FunctionInvocation::FunctionInvocation | ( | const String & | functionName, | |
int | groupOrder, | |||
int | internalOrder, | |||
String | returnType = "void" | |||
) |
Class constructor.
functionName | The name of the function to invoke. | |
groupOrder | The group order of this invocation. | |
internalOrder | The internal order of this invocation. | |
returnType | The return type of the used function. |
virtual void Ogre::RTShader::FunctionInvocation::writeSourceCode | ( | std::ostream & | os, | |
const String & | targetLanguage | |||
) | const [virtual] |
virtual const String& Ogre::RTShader::FunctionInvocation::getFunctionAtomType | ( | ) | [virtual] |
Implements Ogre::RTShader::FunctionAtom.
Definition at line 176 of file OgreShaderFunctionAtom.h.
OperandVector& Ogre::RTShader::FunctionInvocation::getOperandList | ( | ) |
Get a list of parameters this function invocation will use in the function call as arguments.
Definition at line 179 of file OgreShaderFunctionAtom.h.
void Ogre::RTShader::FunctionInvocation::pushOperand | ( | ParameterPtr | parameter, | |
Operand::OpSemantic | opSemantic, | |||
int | opMask = Operand::OPM_ALL | |||
) |
Push a new operand (on the end) to the function.
parameter | A function parameter. | |
opSemantic | The in/out semantic of the parameter. | |
opMask | The field mask of the parameter. |
const String& Ogre::RTShader::FunctionInvocation::getFunctionName | ( | ) | const |
const String& Ogre::RTShader::FunctionInvocation::getReturnType | ( | ) | const |
int Ogre::RTShader::FunctionAtom::getGroupExecutionOrder | ( | ) | const [inherited] |
Get the group execution order of this function atom.
int Ogre::RTShader::FunctionAtom::getInternalExecutionOrder | ( | ) | const [inherited] |
Get an internal execution order within a group of this function atom.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
void * | ptr | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
void * | ||||
) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
Definition at line 199 of file OgreShaderFunctionAtom.h.
Definition at line 200 of file OgreShaderFunctionAtom.h.
Definition at line 201 of file OgreShaderFunctionAtom.h.
int Ogre::RTShader::FunctionAtom::mGroupExecutionOrder [protected, inherited] |
Definition at line 72 of file OgreShaderFunctionAtom.h.
int Ogre::RTShader::FunctionAtom::mInteralExecutionOrder [protected, inherited] |
Definition at line 73 of file OgreShaderFunctionAtom.h.
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Feb 28 21:20:04 2010