#include <OgreGpuProgram.h>
Public Member Functions | |
| AutoConstantEntry (AutoConstantType theType, size_t theIndex, size_t theData, size_t theElemCount=4) | |
| AutoConstantEntry (AutoConstantType theType, size_t theIndex, Real theData, 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 | |
| }; | |
Definition at line 754 of file OgreGpuProgram.h.
| Ogre::GpuProgramParameters::AutoConstantEntry::AutoConstantEntry | ( | AutoConstantType | theType, | |
| size_t | theIndex, | |||
| size_t | theData, | |||
| size_t | theElemCount = 4 | |||
| ) |
Definition at line 771 of file OgreGpuProgram.h.
| Ogre::GpuProgramParameters::AutoConstantEntry::AutoConstantEntry | ( | AutoConstantType | theType, | |
| size_t | theIndex, | |||
| Real | theData, | |||
| size_t | theElemCount = 4 | |||
| ) |
Definition at line 775 of file OgreGpuProgram.h.
The target (physical) constant index.
Definition at line 760 of file OgreGpuProgram.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 764 of file OgreGpuProgram.h.
Referenced by Ogre::Renderable::_updateCustomGpuParameter().
Definition at line 767 of file OgreGpuProgram.h.
Referenced by Ogre::Renderable::_updateCustomGpuParameter().
Definition at line 768 of file OgreGpuProgram.h.
| union { ... } |
Copyright © 2008 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Jul 26 11:33:23 2009