27 #ifndef _ShaderProgram_
28 #define _ShaderProgram_
154 void addDependency(
const String& libFileName);
157 size_t getDependencyCount()
const;
162 const String& getDependency(
unsigned int index)
const;
206 void destroyParameters();
209 void destroyFunctions();
float Real
Software floating point type.
Function * getEntryPointFunction()
Get the entry point function of this program.
bool mColumnMajorMatrices
void setUseColumnMajorMatrices(bool value)
Tells Ogre whether auto-bound matrices should be sent in column or row-major order.
GpuProgramType
Enumerates the types of programs which can run on the GPU.
const UniformParameterList & getParameters() const
Get the list of uniform parameters of this program.
ShaderFunctionList mFunctions
vector< Function * >::type ShaderFunctionList
const ShaderFunctionList & getFunctions() const
Get the function list of this program.
AutoConstantType
Defines the types of automatically updated values that may be bound to GpuProgram parameters...
GpuConstantType
Enumeration of the types of constant we may encounter in programs.
A class that represents a shader based program function.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
vector< UniformParameterPtr >::type UniformParameterList
UniformParameterList mParameters
vector< String >::type StringVector
void setEntryPointFunction(Function *function)
Set the entry point function.
void setSkeletalAnimationIncluded(bool value)
Sets whether a vertex program includes the required instructions to perform skeletal animation...
A class that represents a shader based program.
bool getUseColumnMajorMatrices() const
Returns whether Ogre will pass auto-bound matrices as column-major.
bool getSkeletalAnimationIncluded() const
Returns whether a vertex program includes the required instructions to perform skeletal animation...
Reference-counted shared pointer, used for objects where implicit destruction is required.
StringVector mDependencies
Function * mEntryPointFunction
A singleton manager class that manages shader based programs.