Struct collecting together the information for named constants. More...
#include <OgreGpuProgramParams.h>
Public Member Functions | |
GpuNamedConstants () | |
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. | |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void * | operator new[] (size_t sz) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
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. |
Struct collecting together the information for named constants.
Definition at line 270 of file OgreGpuProgramParams.h.
Ogre::GpuNamedConstants::GpuNamedConstants | ( | ) |
Definition at line 279 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.
static bool Ogre::GpuNamedConstants::getGenerateAllConstantDefinitionArrayEntries | ( | ) | [static] |
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.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
void * | ||||
) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
void * | ptr | |||
) | [inherited] |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
void Ogre::GpuNamedConstants::save | ( | const String & | filename | ) | const |
Saves constant definitions to a file, compatible with GpuProgram::setManualNamedConstantsFile.
static void Ogre::GpuNamedConstants::setGenerateAllConstantDefinitionArrayEntries | ( | bool | generateAll | ) | [static] |
Sets whether all array entries will be generated and added to the definitions map.
Total size of the float buffer required.
Definition at line 273 of file OgreGpuProgramParams.h.
Total size of the int buffer required.
Definition at line 275 of file OgreGpuProgramParams.h.
Map of parameter names to GpuConstantDefinition.
Definition at line 277 of file OgreGpuProgramParams.h.
bool Ogre::GpuNamedConstants::msGenerateAllConstantDefinitionArrayEntries [static, protected] |
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 322 of file OgreGpuProgramParams.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:37:32 2012