Public Attributes
tagXSI_RTS_Primitive Struct Reference

## Detailed Description

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.

See also:
  IRTSExecutionState::GetPrimitive, IRTSExecutionState::DrawGeometry, X3DObject

Since:
  7.0

`#include <XSI_rtshaders.h>`

List of all members.

## Public Attributes
eXSI_RTS_PrimitiveType | m_Type
void * | m_pIndices
int | m_iIndicesWidth
ULONG | m_ulNbIndices
ULONG | m_ulBaseOffset
ULONG | m_NbVertices

## Member Data Documentation

eXSI_RTS_PrimitiveType m_Type

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

The documentation for this struct was generated from the following file:

- XSI_rtshaders.h