Go to the documentation of this file.
29 #ifndef __GL3PlusGpuProgram_H__
30 #define __GL3PlusGpuProgram_H__
59 virtual size_t calculateSize(
void)
const;
63 {
return mProgramID; }
77 #endif // __GL3PlusGpuProgram_H__
unsigned long long int ResourceHandle
Defines a program which runs on the GPU such as a vertex or fragment program.
virtual void unbindProgram(void)
Execute the binding functions for this program.
virtual void bindProgramParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the param binding functions for this program.
GLuint getProgramID(void) const
Get the assigned GL program id.
#define _OgreGL3PlusExport
void loadFromSource(void)
Overridden from GpuProgram, do nothing.
Defines a generic resource handler.
virtual void bindProgramSharedParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the shared param binding functions for this program.
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.
void unloadImpl(void)
Internal implementation of the 'unload' action; called regardless of whether this resource is being l...
Interface describing a manual resource loader.
virtual void bindProgramPassIterationParameters(GpuProgramParametersSharedPtr params)
Bind just the pass iteration parameters.
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