#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 | logicalIndex |
Logical index - used to communicate this constant to the rendersystem. | |
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 87 of file OgreGpuProgram.h.
Ogre::GpuConstantDefinition::GpuConstantDefinition | ( | ) |
Definition at line 139 of file OgreGpuProgram.h.
bool Ogre::GpuConstantDefinition::isFloat | ( | ) | const |
Definition at line 101 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 122 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 92 of file OgreGpuProgram.h.
Logical index - used to communicate this constant to the rendersystem.
Definition at line 94 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 97 of file OgreGpuProgram.h.
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:03:26 2009