Structure recording the use of an automatic parameter.
More...
#include <OgreGpuProgramParams.h>
Structure recording the use of an automatic parameter.
◆ AutoConstantEntry() [1/2]
Ogre::GpuProgramParameters::AutoConstantEntry::AutoConstantEntry |
( |
AutoConstantType |
theType, |
|
|
size_t |
theIndex, |
|
|
uint32 |
theData, |
|
|
uint16 |
theVariability, |
|
|
uint8 |
theElemCount = 4 |
|
) |
| |
|
inline |
◆ AutoConstantEntry() [2/2]
Ogre::GpuProgramParameters::AutoConstantEntry::AutoConstantEntry |
( |
AutoConstantType |
theType, |
|
|
size_t |
theIndex, |
|
|
float |
theData, |
|
|
uint16 |
theVariability, |
|
|
uint8 |
theElemCount = 4 |
|
) |
| |
|
inline |
◆ physicalIndex
size_t Ogre::GpuProgramParameters::AutoConstantEntry::physicalIndex |
The target (physical) constant index.
◆ paramType
◆ data
uint32 Ogre::GpuProgramParameters::AutoConstantEntry::data |
◆ fData
float Ogre::GpuProgramParameters::AutoConstantEntry::fData |
Additional information to go with the parameter.
◆ variability
uint16 Ogre::GpuProgramParameters::AutoConstantEntry::variability |
The variability of this parameter (see GpuParamVariability)
◆ elementCount
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
The documentation for this class was generated from the following file: