OGRE-Next
2.3
Object-Oriented Graphics Rendering Engine
|
Struct collecting together the information for named constants. More...
#include <OgreGpuProgramParams.h>
Public Member Functions | |
GpuNamedConstants () | |
size_t | calculateSize () 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, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
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 *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void | save (const String &filename) const |
Saves constant definitions to a file, compatible with GpuProgram::setManualNamedConstantsFile. More... | |
Static Public Member Functions | |
static bool | getGenerateAllConstantDefinitionArrayEntries () |
Indicates whether all array entries will be generated and added to the definitions map. More... | |
static void | setGenerateAllConstantDefinitionArrayEntries (bool generateAll) |
Sets whether all array entries will be generated and added to the definitions map. More... | |
Public Attributes | |
size_t | doubleBufferSize |
Total size of the double buffer required. More... | |
size_t | floatBufferSize |
Total size of the float buffer required. More... | |
size_t | intBufferSize |
Total size of the int buffer required. More... | |
GpuConstantDefinitionMap | map |
Total size of the bool buffer required. More... | |
size_t | uintBufferSize |
Total size of the uint buffer required. More... | |
Struct collecting together the information for named constants.
|
inline |
size_t Ogre::GpuNamedConstants::calculateSize | ( | ) | const |
void Ogre::GpuNamedConstants::generateConstantDefinitionArrayEntries | ( | const String & | paramName, |
const GpuConstantDefinition & | baseDef | ||
) |
Generate additional constant entries for arrays based on a base definition.
|
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.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
void Ogre::GpuNamedConstants::save | ( | const String & | filename | ) | const |
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.
size_t Ogre::GpuNamedConstants::floatBufferSize |
Total size of the float buffer required.
size_t Ogre::GpuNamedConstants::intBufferSize |
Total size of the int buffer required.
GpuConstantDefinitionMap Ogre::GpuNamedConstants::map |
Total size of the bool buffer required.
Map of parameter names to GpuConstantDefinition
size_t Ogre::GpuNamedConstants::uintBufferSize |
Total size of the uint buffer required.