![]() |
OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Structure recording the use of an automatic parameter. More...
#include <OgreGpuProgramParams.h>
Public Member Functions | |
AutoConstantEntry (AutoConstantType theType, size_t theIndex, float theData, uint16 theVariability, uint8 theElemCount=4) | |
AutoConstantEntry (AutoConstantType theType, size_t theIndex, uint32 theData, uint16 theVariability, uint8 theElemCount=4) | |
Public Attributes | ||
union { | ||
uint32 data | ||
float fData | ||
}; | ||
Additional information to go with the parameter. | ||
uint8 | 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.
|
inline |
|
inline |
size_t Ogre::GpuProgramParameters::AutoConstantEntry::physicalIndex |
The target (physical) constant index.
AutoConstantType Ogre::GpuProgramParameters::AutoConstantEntry::paramType |
The type of parameter.
uint32 Ogre::GpuProgramParameters::AutoConstantEntry::data |
float Ogre::GpuProgramParameters::AutoConstantEntry::fData |
union { ... } Ogre::GpuProgramParameters::AutoConstantEntry |
Additional information to go with the parameter.
uint16 Ogre::GpuProgramParameters::AutoConstantEntry::variability |
The variability of this parameter (see GpuParamVariability)
uint8 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