28 #ifndef __HighLevelGpuProgram_H__
29 #define __HighLevelGpuProgram_H__
74 virtual void loadHighLevel(
void);
76 virtual void unloadHighLevel(
void);
80 virtual void loadHighLevelImpl(
void);
83 virtual void createLowLevelImpl(
void) = 0;
85 virtual void unloadHighLevelImpl(
void) = 0;
94 virtual void buildConstantDefinitions()
const = 0;
127 virtual size_t calculateSize(
void)
const;
const GpuNamedConstants & getNamedConstants() const
Override GpuProgram::getNamedConstants to ensure built.
Struct collecting together the information for named constants.
Abstract base class representing a high-level program (a vertex or fragment program).
Interface describing a manual resource loader.
unsigned long long int ResourceHandle
GpuProgramPtr mAssemblerProgram
The underlying assembler program.
bool mHighLevelLoaded
Whether the high-level program (and it's parameter defs) is loaded.
bool mConstantDefsBuilt
Have we built the name->index parameter map yet?
Defines a generic resource handler.
GpuProgram * _getBindingDelegate(void)
Returns the GpuProgram which should be bound to the pipeline.
Defines a program which runs on the GPU such as a vertex or fragment program.