enum | ElementSize
Specifies the size or dimension of each data element of the storage.
| kInvalidElementSize
| | kOne
Single value
| | kTwo
2-tuple
| | kThree
3-tuple
| | kFour
4-tuple
|
|
enum | ElementType
Specifies the data type of each data element of the storage.
| kInvalidElementType
Invalid element type (default value)
| | kFloat
IEEE single precision floating point
| | kDouble
IEEE double precision floating point
| | kChar
Signed char
| | kUnsignedChar
Unsigned char
| | kInt16
Signed 16-bit integer
| | kUnsignedInt16
Unsigned 16-bit integer
| | kInt32
Signed 32-bit integer
| | kUnsignedInt32
Unsigned 32-bit integer
|
|
enum | DataType
Specifies the data type of the storage array.
| kInvalidDataType
Invalid data type (default value)
| | kPosition
Position vector
| | kNormal
Normal vector
| | kTexCoord
Texture coordinate tuple
| | kColor
Color tuple
| | kWeight
Vertex weighting data
| | kAPISupported
Separator to indicate native draw API supported types
| | kTangent
Tangent vector
| | kBiNormal
Bi-normal vector
| | kVelocity
Velocity vector
| | kPrimitiveCenter
Center of primitive
| | kColorMask
Mapped, unmapped color mask
| | kUserData
Arbitrary "user data"
| | kMaxDataTypeIndex
Valid entries are < kMaxDataTypeIndex
|
|
| MGeometryData ( const char * dataName, DataType dataType , ElementType elementType , ElementSize elementSize , unsigned int elementCount , void* dataPtr = NULL, bool ownsData = true)
Constructor
|
| MGeometryData (const MGeometryData &)
|
| ~MGeometryData ()
Destructor
|
const char * | objectName () const
|
int | uniqueID () const
|
DataType | dataType () const
|
ElementType | elementType () const
|
unsigned int | elementTypeSize () const
|
ElementSize | elementSize () const
|
unsigned int | elementCount () const
|
void * | data () const
|
void | setCollectionNumber (int cn)
|
int | collectionNumber () const
|
void | setObjectOwnsData (bool val)
|
bool | objectOwnsData () const
|