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__
void loadFromSource(void)
Overridden from GpuProgram, do nothing.
void unloadImpl(void)
Internal implementation of the 'unload' action; called regardless of whether this resource is being l...
GLuint getProgramType(void) const
Get the GL type for the program.
Specialisation of the GL low-level program for ARB programs.
Interface describing a manual resource loader.
unsigned long long int ResourceHandle
GLuint getProgramID(void) const
Get the assigned GL program id.
Generalised low-level GL program, can be applied to multiple types (eg ARB and NV) ...
VertexElementSemantic
Vertex element semantics, used to identify the meaning of vertex buffer contents. ...
GpuProgramType
Enumerates the types of programs which can run on the GPU.
Defines a generic resource handler.
virtual void bindProgram(void)
Execute the binding functions for this program.
Defines a program which runs on the GPU such as a vertex or fragment program.
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.
virtual void bindProgramPassIterationParameters(GpuProgramParametersSharedPtr params)
Bind just the pass iteration parameters.