OGRE 14.6
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::GpuProgramParameters::AutoConstantEntry Class Reference

Structure recording the use of an automatic parameter. More...

#include <OgreGpuProgramParams.h>

Classes

union  [union].__unnamed0__
 Additional information to go with the parameter. More...

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  
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).

Detailed Description

Structure recording the use of an automatic parameter.

Constructor & Destructor Documentation

◆ 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

Member Data Documentation

◆ physicalIndex

size_t Ogre::GpuProgramParameters::AutoConstantEntry::physicalIndex

The target (physical) constant index.

Referenced by AutoConstantEntry(), and AutoConstantEntry().

◆ paramType

AutoConstantType Ogre::GpuProgramParameters::AutoConstantEntry::paramType

The type of parameter.

Referenced by AutoConstantEntry(), and AutoConstantEntry().

◆ @026123153206335071344036076131151003241012217043

◆ variability

uint16 Ogre::GpuProgramParameters::AutoConstantEntry::variability

The variability of this parameter (see GpuParamVariability).

Referenced by AutoConstantEntry(), and AutoConstantEntry().

◆ 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

Referenced by AutoConstantEntry(), and AutoConstantEntry().


The documentation for this class was generated from the following file: