XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALMultiDrawIndexedItem Struct Reference

Represents a single indexed draw entry in a multi-draw call. More...

#include <CommandList.h>

Public Member Functions

XII_ALWAYS_INLINE xiiGALMultiDrawIndexedItem ()=default
 Default-initialized indexed draw item (0 indices).
 
XII_ALWAYS_INLINE xiiGALMultiDrawIndexedItem (xiiUInt32 uiIndexCount, xiiUInt32 uiFirstIndexLocation=0U, xiiUInt32 uiBaseVertex=0U)
 Constructs a multi-draw indexed item with specified index parameters.
 

Public Attributes

xiiUInt32 m_uiIndexCount = 0U
 Number of indices to draw.
 
xiiUInt32 m_uiFirstIndexLocation = 0U
 Start index in the bound index buffer.
 
xiiUInt32 m_uiBaseVertex = 0U
 Value added to each index before vertex fetch.
 

Detailed Description

Represents a single indexed draw entry in a multi-draw call.

Specifies the number of indices, the first index offset, and base vertex for one draw invocation.

See also
xiiGALCommandList::MultiDrawIndexed

Constructor & Destructor Documentation

◆ xiiGALMultiDrawIndexedItem()

XII_ALWAYS_INLINE xiiGALMultiDrawIndexedItem::xiiGALMultiDrawIndexedItem ( xiiUInt32 uiIndexCount,
xiiUInt32 uiFirstIndexLocation = 0U,
xiiUInt32 uiBaseVertex = 0U )
inline

Constructs a multi-draw indexed item with specified index parameters.

Parameters
uiIndexCount- Number of indices to draw.
uiFirstIndexLocation- Start index in the bound index buffer.
uiBaseVertex- Value added to each index before vertex fetch.

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