The XSI_RTS_Primitive structure.
This structure is available from the IRTSExecutionState::GetPrimitive function. You use it to pass information to the IRTSExecutionState::DrawGeometry function about the geometry to draw.
#include <XSI_rtshaders.h>
Public Attributes | |
eXSI_RTS_PrimitiveType | m_Type |
void * | m_pIndices |
int | m_iIndicesWidth |
ULONG | m_ulNbIndices |
ULONG | m_ulBaseOffset |
ULONG | m_NbVertices |
The type of primitive
void* m_pIndices |
The triangle indices
int m_iIndicesWidth |
The size of the indices (4=UINT, 2=USHORT, 1=UBYTE)
ULONG m_ulNbIndices |
Number of indices
ULONG m_ulBaseOffset |
Offset into the list of indices
ULONG m_NbVertices |
Total number of vertices