28 #ifndef __GpuProgramUsage_H__
29 #define __GpuProgramUsage_H__
87 void recreateParameters();
113 void setProgramName(
const String& name,
bool resetParams =
true);
141 size_t calculateSize(
void)
const;
144 void unloadingComplete(
Resource* prog);
145 void loadingComplete(
Resource* prog);
GpuProgramParametersSharedPtr mParameters
Program parameters.
GpuProgramType
Enumerates the types of programs which can run on the GPU.
bool mRecreateParams
Whether to recreate parameters next load.
const String & getProgramName(void) const
Gets the program being used.
Class defining a single pass of a Technique (of a Material), i.e.
const GpuProgramPtr & getProgram() const
Gets the program being used.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
This class makes the usage of a vertex and fragment programs (low-level or high-level), with a given set of parameters, explicit.
Abstract class representing a loadable resource (e.g.
GpuProgramPtr mProgram
The program link.
GpuProgramType getType(void) const
Gets the type of program we're trying to link to.