29 #ifndef __GLGpuProgram_H__
30 #define __GLGpuProgram_H__
57 virtual size_t calculateSize(
void)
const;
61 {
return mProgramID; }
99 void bindProgram(
void);
101 void unbindProgram(
void);
109 {
return mProgramType; }
112 void loadFromSource(
void);
114 void unloadImpl(
void);
122 #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.
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. ...
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.
GLuint getProgramType(void) const
Get the GL type for the program.
void unloadImpl(void)
Internal implementation of the 'unload' action; called regardless of whether this resource is being l...