Struct collecting together the information for named constants. More...
#include <OgreGpuProgramParams.h>
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 | doubleBufferSize |
Total size of the double buffer required. | |
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. | |
Struct collecting together the information for named constants.
Definition at line 355 of file OgreGpuProgramParams.h.
Ogre::GpuNamedConstants::GpuNamedConstants | ( | ) |
Definition at line 366 of file OgreGpuProgramParams.h.
void Ogre::GpuNamedConstants::generateConstantDefinitionArrayEntries | ( | const String & | paramName, |
const GpuConstantDefinition & | baseDef | ||
) |
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.
void Ogre::GpuNamedConstants::load | ( | DataStreamPtr & | stream | ) |
Loads constant definitions from a stream, compatible with GpuProgram::setManualNamedConstantsFile.
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
Saves constant definitions to a file, compatible with GpuProgram::setManualNamedConstantsFile.
|
static |
Sets whether all array entries will be generated and added to the definitions map.
size_t Ogre::GpuNamedConstants::doubleBufferSize |
Total size of the double buffer required.
Definition at line 360 of file OgreGpuProgramParams.h.
size_t Ogre::GpuNamedConstants::floatBufferSize |
Total size of the float buffer required.
Definition at line 358 of file OgreGpuProgramParams.h.
size_t Ogre::GpuNamedConstants::intBufferSize |
Total size of the int buffer required.
Definition at line 362 of file OgreGpuProgramParams.h.
GpuConstantDefinitionMap Ogre::GpuNamedConstants::map |
Map of parameter names to GpuConstantDefinition.
Definition at line 364 of file OgreGpuProgramParams.h.
|
staticprotected |
Indicates whether all array entries will be generated and added to the definitions map.
true
allows all of the entries to be generated and added to the map. Definition at line 411 of file OgreGpuProgramParams.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.