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