Struct collecting together the information for named constants.
More...
#include <OgreGpuProgramParams.h>
|
| GpuNamedConstants () |
|
size_t | calculateSize (void) const |
|
void | generateConstantDefinitionArrayEntries (const String ¶mName, const GpuConstantDefinition &baseDef) |
| Generate additional constant entries for arrays based on a base definition. More...
|
|
void | load (DataStreamPtr &stream) |
| Loads constant definitions from a stream, compatible with GpuProgram::setManualNamedConstantsFile. More...
|
|
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 *) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info More...
|
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new More...
|
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info More...
|
|
void * | operator new[] (size_t sz) |
|
void | save (const String &filename) const |
| Saves constant definitions to a file, compatible with GpuProgram::setManualNamedConstantsFile. More...
|
|
Struct collecting together the information for named constants.
Definition at line 355 of file OgreGpuProgramParams.h.
Ogre::GpuNamedConstants::GpuNamedConstants |
( |
| ) |
|
|
inline |
size_t Ogre::GpuNamedConstants::calculateSize |
( |
void |
| ) |
const |
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.
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
void Ogre::GpuNamedConstants::save |
( |
const String & |
filename | ) |
const |
static void Ogre::GpuNamedConstants::setGenerateAllConstantDefinitionArrayEntries |
( |
bool |
generateAll | ) |
|
|
static |
Sets whether all array entries will be generated and added to the definitions map.
size_t Ogre::GpuNamedConstants::doubleBufferSize |
size_t Ogre::GpuNamedConstants::floatBufferSize |
size_t Ogre::GpuNamedConstants::intBufferSize |
bool Ogre::GpuNamedConstants::msGenerateAllConstantDefinitionArrayEntries |
|
staticprotected |
Indicates whether all array entries will be generated and added to the definitions map.
Definition at line 411 of file OgreGpuProgramParams.h.
The documentation for this struct was generated from the following file: