#include <OgreGpuProgram.h>
Public Member Functions | |
bool | isFloat () const |
bool | isSampler () const |
GpuConstantDefinition () | |
Public Attributes | |
GpuConstantType | constType |
Data type. | |
size_t | physicalIndex |
Physical start index in buffer (either float or int buffer). | |
size_t | elementSize |
Number of raw buffer slots per element (some programs pack each array element to float4, some do not). | |
size_t | arraySize |
Length of array. |
Definition at line 84 of file OgreGpuProgram.h.
Ogre::GpuConstantDefinition::GpuConstantDefinition | ( | ) |
Definition at line 134 of file OgreGpuProgram.h.
bool Ogre::GpuConstantDefinition::isFloat | ( | ) | const |
Definition at line 96 of file OgreGpuProgram.h.
References Ogre::GCT_INT1, Ogre::GCT_INT2, Ogre::GCT_INT3, Ogre::GCT_INT4, Ogre::GCT_SAMPLER1D, Ogre::GCT_SAMPLER1DSHADOW, Ogre::GCT_SAMPLER2D, Ogre::GCT_SAMPLER2DSHADOW, Ogre::GCT_SAMPLER3D, and Ogre::GCT_SAMPLERCUBE.
bool Ogre::GpuConstantDefinition::isSampler | ( | ) | const |
Definition at line 117 of file OgreGpuProgram.h.
References Ogre::GCT_SAMPLER1D, Ogre::GCT_SAMPLER1DSHADOW, Ogre::GCT_SAMPLER2D, Ogre::GCT_SAMPLER2DSHADOW, Ogre::GCT_SAMPLER3D, and Ogre::GCT_SAMPLERCUBE.
Physical start index in buffer (either float or int buffer).
Definition at line 89 of file OgreGpuProgram.h.
Number of raw buffer slots per element (some programs pack each array element to float4, some do not).
Definition at line 92 of file OgreGpuProgram.h.
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:49:47 2008