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

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15