Structure recording the use of an automatic parameter. More...
#include <OgreGpuProgramParams.h>
Public Member Functions | |
| AutoConstantEntry (AutoConstantType theType, size_t theIndex, Real theData, uint16 theVariability, size_t theElemCount=4) | |
| AutoConstantEntry (AutoConstantType theType, size_t theIndex, size_t theData, uint16 theVariability, size_t theElemCount=4) | |
Public Attributes | |
| union { | |
| size_t data | |
| Real fData | |
| }; | |
| Additional information to go with the parameter. | |
| size_t | elementCount |
| The number of elements per individual entry in this constant Used in case people used packed elements smaller than 4 (e.g. | |
| AutoConstantType | paramType |
| The type of parameter. | |
| size_t | physicalIndex |
| The target (physical) constant index. | |
| uint16 | variability |
| The variability of this parameter (see GpuParamVariability). | |
Structure recording the use of an automatic parameter.
Definition at line 1215 of file OgreGpuProgramParams.h.
| Ogre::GpuProgramParameters::AutoConstantEntry::AutoConstantEntry | ( | AutoConstantType | theType, |
| size_t | theIndex, | ||
| size_t | theData, | ||
| uint16 | theVariability, | ||
| size_t | theElemCount = 4 ) |
Definition at line 1234 of file OgreGpuProgramParams.h.
References data, elementCount, paramType, physicalIndex, and variability.
| Ogre::GpuProgramParameters::AutoConstantEntry::AutoConstantEntry | ( | AutoConstantType | theType, |
| size_t | theIndex, | ||
| Real | theData, | ||
| uint16 | theVariability, | ||
| size_t | theElemCount = 4 ) |
Definition at line 1239 of file OgreGpuProgramParams.h.
References elementCount, fData, paramType, physicalIndex, and variability.
| union { ... } Ogre::GpuProgramParameters::AutoConstantEntry |
Additional information to go with the parameter.
| size_t Ogre::GpuProgramParameters::AutoConstantEntry::data |
Definition at line 1228 of file OgreGpuProgramParams.h.
Referenced by AutoConstantEntry(), and Ogre::Renderable::_updateCustomGpuParameter().
| size_t Ogre::GpuProgramParameters::AutoConstantEntry::elementCount |
The number of elements per individual entry in this constant Used in case people used packed elements smaller than 4 (e.g.
GLSL) and bind an auto which is 4-element packed to it
Definition at line 1225 of file OgreGpuProgramParams.h.
Referenced by AutoConstantEntry(), AutoConstantEntry(), and Ogre::Renderable::_updateCustomGpuParameter().
| Real Ogre::GpuProgramParameters::AutoConstantEntry::fData |
Definition at line 1229 of file OgreGpuProgramParams.h.
Referenced by AutoConstantEntry().
| AutoConstantType Ogre::GpuProgramParameters::AutoConstantEntry::paramType |
The type of parameter.
Definition at line 1219 of file OgreGpuProgramParams.h.
Referenced by AutoConstantEntry(), and AutoConstantEntry().
| size_t Ogre::GpuProgramParameters::AutoConstantEntry::physicalIndex |
The target (physical) constant index.
Definition at line 1221 of file OgreGpuProgramParams.h.
Referenced by AutoConstantEntry(), AutoConstantEntry(), and Ogre::Renderable::_updateCustomGpuParameter().
| uint16 Ogre::GpuProgramParameters::AutoConstantEntry::variability |
The variability of this parameter (see GpuParamVariability).
Definition at line 1232 of file OgreGpuProgramParams.h.
Referenced by AutoConstantEntry(), and AutoConstantEntry().
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.