Structure recording the use of an automatic parameter. More...
#include <OgreGpuProgramParams.h>
Public Member Functions | |
AutoConstantEntry (AutoConstantType theType, size_t theIndex, size_t theData, uint16 theVariability, size_t theElemCount=4) | |
AutoConstantEntry (AutoConstantType theType, size_t theIndex, Real theData, uint16 theVariability, size_t theElemCount=4) | |
Public Attributes | |
AutoConstantType | paramType |
The type of parameter. | |
size_t | physicalIndex |
The target (physical) constant index. | |
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. | |
union { | |
size_t data | |
Real fData | |
}; | |
Additional information to go with the parameter. | |
uint16 | variability |
The variability of this parameter (see GpuParamVariability). |
Structure recording the use of an automatic parameter.
Definition at line 1075 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 1094 of file OgreGpuProgramParams.h.
Ogre::GpuProgramParameters::AutoConstantEntry::AutoConstantEntry | ( | AutoConstantType | theType, | |
size_t | theIndex, | |||
Real | theData, | |||
uint16 | theVariability, | |||
size_t | theElemCount = 4 | |||
) |
Definition at line 1099 of file OgreGpuProgramParams.h.
union { ... } |
Additional information to go with the parameter.
Definition at line 1088 of file OgreGpuProgramParams.h.
Referenced by Ogre::Renderable::_updateCustomGpuParameter().
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 1085 of file OgreGpuProgramParams.h.
Referenced by Ogre::Renderable::_updateCustomGpuParameter().
Definition at line 1089 of file OgreGpuProgramParams.h.
The type of parameter.
Definition at line 1079 of file OgreGpuProgramParams.h.
The target (physical) constant index.
Definition at line 1081 of file OgreGpuProgramParams.h.
Referenced by Ogre::Renderable::_updateCustomGpuParameter().
The variability of this parameter (see GpuParamVariability).
Definition at line 1092 of file OgreGpuProgramParams.h.
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Wed Nov 3 2010 19:24:55