C++ API Reference
MComponentDataIndexing Class Reference

Class for storing index mapping when vertices are shared. More...

#include <MComponentDataIndexing.h>

Public Member Functions

MUintArrayindices ()
 Get the array of vertex indices for the component. More...
 
const MUintArrayindices () const
 Get the array of vertex indices for the component. More...
 
MComponentType componentType () const
 Get the component type that the vertex indices represent. More...
 
void setComponentType (MComponentType type)
 Set the component type that the vertex indices represent. More...
 

Detailed Description

Member Function Documentation

MUintArray & indices ( )

Get the array of vertex indices for the component.

Returns
The array of vertex indices.
Examples:
customPrimitiveGenerator/customPrimitiveGenerator.cpp, and vertexBufferGenerator/vertexBufferGenerator.cpp.
const MUintArray & indices ( ) const

Get the array of vertex indices for the component.

Returns
The array of vertex indices.
MComponentDataIndexing::MComponentType componentType ( ) const

Get the component type that the vertex indices represent.

Returns
The component type.
Examples:
customPrimitiveGenerator/customPrimitiveGenerator.cpp.
void setComponentType ( MComponentDataIndexing::MComponentType  type)

Set the component type that the vertex indices represent.

Parameters
[in]typeThe component type.
Examples:
customPrimitiveGenerator/customPrimitiveGenerator.cpp, and vertexBufferGenerator/vertexBufferGenerator.cpp.

The documentation for this class was generated from the following files: