Go to the documentation of this file.
27 #ifndef _ShaderProgramFunction_
28 #define _ShaderProgramFunction_
153 void sortAtomInstances();
174 void deleteAllInputParameters();
177 void deleteAllOutputParameters();
180 FunctionType getFunctionType()
const;
FunctionAtomInstanceList & getAtomInstances()
Return list of atom instances composing this function.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
FunctionType mFunctionType
const String & getName() const
Get the name of this function.
ShaderFunctionList::iterator ShaderFunctionIterator
FunctionAtomInstanceList mAtomInstances
const ShaderParameterList & getOutputParameters() const
Return a list of output parameters.
vector< Function * >::type ShaderFunctionList
const ShaderParameterList & getLocalParameters() const
Return a list of local parameters.
vector< ParameterPtr >::type ShaderParameterList
const FunctionAtomInstanceList & getAtomInstances() const
Return list of atom instances composing this function.
A class that represents a shader based program.
A class that represents an atomic code section of shader based program function.
ShaderParameterList mOutputParameters
ShaderParameterList mInputParameters
GpuConstantType
Enumeration of the types of constant we may encounter in programs.
const String & getDescription() const
Get the description of this function.
ShaderFunctionList::const_iterator ShaderFunctionConstIterator
const ShaderParameterList & getInputParameters() const
Return a list of input parameters.
ShaderParameterList mLocalParameters
vector< FunctionAtom * >::type FunctionAtomInstanceList
A class that represents a shader based program function.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.