#include <OgreGpuProgram.h>
Public Member Functions | |
| void | generateConstantDefinitionArrayEntries (const String ¶mName, const GpuConstantDefinition &baseDef) |
| Generate additional constant entries for arrays based on a base definition. | |
| void | save (const String &filename) const |
| Saves constant definitions to a file, compatible with GpuProgram::setManualNamedConstantsFile. | |
| void | load (DataStreamPtr &stream) |
| Loads constant definitions from a stream, compatible with GpuProgram::setManualNamedConstantsFile. | |
Static Public Member Functions | |
| static bool | getGenerateAllConstantDefinitionArrayEntries () |
| Indicates whether all array entries will be generated and added to the definitions map. | |
| static void | setGenerateAllConstantDefinitionArrayEntries (bool generateAll) |
| Sets whether all array entries will be generated and added to the definitions map. | |
Public Attributes | |
| size_t | floatBufferSize |
| Total size of the float buffer required. | |
| size_t | intBufferSize |
| Total size of the int buffer required. | |
| GpuConstantDefinitionMap | map |
| Map of parameter names to GpuConstantDefinition. | |
Static Protected Attributes | |
| static bool | msGenerateAllConstantDefinitionArrayEntries |
| Indicates whether all array entries will be generated and added to the definitions map. | |
Definition at line 149 of file OgreGpuProgram.h.
|
||||||||||||
|
Generate additional constant entries for arrays based on a base definition.
|
|
|
Indicates whether all array entries will be generated and added to the definitions map.
|
|
|
Loads constant definitions from a stream, compatible with GpuProgram::setManualNamedConstantsFile.
|
|
|
Saves constant definitions to a file, compatible with GpuProgram::setManualNamedConstantsFile.
|
|
|
Sets whether all array entries will be generated and added to the definitions map.
|
|
|
Total size of the float buffer required.
Definition at line 152 of file OgreGpuProgram.h. |
|
|
Total size of the int buffer required.
Definition at line 154 of file OgreGpuProgram.h. |
|
|
Map of parameter names to GpuConstantDefinition.
Definition at line 156 of file OgreGpuProgram.h. |
|
|
Indicates whether all array entries will be generated and added to the definitions map.
Definition at line 199 of file OgreGpuProgram.h. |
Copyright © 2008 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 11 13:48:01 2009