OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
Struct collecting together the information for named constants. More...
#include <OgreGpuProgramParams.h>
Public Member Functions | |
GpuNamedConstants () | |
~GpuNamedConstants () | |
size_t | calculateSize (void) const |
void | load (DataStreamPtr &stream) |
Loads constant definitions from a stream compatible with GpuProgram::setManualNamedConstantsFile. More... | |
void | save (const String &filename) const |
Saves constant definitions to a file compatible with GpuProgram::setManualNamedConstantsFile. More... | |
Public Attributes | |
size_t | bufferSize |
Total size of the buffer required. More... | |
GpuConstantDefinitionMap | map |
Map of parameter names to GpuConstantDefinition. More... | |
size_t | registerCount |
Number of register type params (samplers) More... | |
Struct collecting together the information for named constants.
Ogre::GpuNamedConstants::GpuNamedConstants | ( | ) |
Ogre::GpuNamedConstants::~GpuNamedConstants | ( | ) |
void Ogre::GpuNamedConstants::save | ( | const String & | filename | ) | const |
Saves constant definitions to a file compatible with GpuProgram::setManualNamedConstantsFile.
void Ogre::GpuNamedConstants::load | ( | DataStreamPtr & | stream | ) |
Loads constant definitions from a stream compatible with GpuProgram::setManualNamedConstantsFile.
size_t Ogre::GpuNamedConstants::calculateSize | ( | void | ) | const |
size_t Ogre::GpuNamedConstants::bufferSize |
Total size of the buffer required.
size_t Ogre::GpuNamedConstants::registerCount |
Number of register type params (samplers)
GpuConstantDefinitionMap Ogre::GpuNamedConstants::map |
Map of parameter names to GpuConstantDefinition.