29 #ifndef __GLGpuProgram_H__
30 #define __GLGpuProgram_H__
59 {
return mProgramID; }
97 void bindProgram(
void);
99 void unbindProgram(
void);
107 {
return mProgramType; }
110 void loadFromSource(
void);
112 void unloadImpl(
void);
120 #endif // __GLGpuProgram_H__
Specialisation of the GL low-level program for ARB programs.
GpuProgramType
Enumerates the types of programs which can run on the GPU.
Defines a program which runs on the GPU such as a vertex or fragment program.
const GLuint getProgramType(void) const
Get the GL type for the program.
virtual void bindProgramPassIterationParameters(GpuProgramParametersSharedPtr params)
Bind just the pass iteration parameters.
Generalised low-level GL program, can be applied to multiple types (eg ARB and NV) ...
virtual void bindProgram(void)
Execute the binding functions for this program.
Interface describing a manual resource loader.
VertexElementSemantic
Vertex element semantics, used to identify the meaning of vertex buffer contents. ...
const GLuint getProgramID(void) const
Get the assigned GL program id.
virtual void bindProgramParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the param binding functions for this program.
virtual void unbindProgram(void)
Execute the binding functions for this program.
void loadFromSource(void)
Overridden from GpuProgram, do nothing.
unsigned long long int ResourceHandle
Defines a generic resource handler.
void unloadImpl(void)
Internal implementation of the 'unload' action; called regardless of whether this resource is being l...