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

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

#include <CommandList.h>

Public Member Functions

XII_ALWAYS_INLINE xiiGALMultiDrawItem ()=default
 Default-initialized multi-draw item (0 vertices).
 
XII_ALWAYS_INLINE xiiGALMultiDrawItem (xiiUInt32 uiVertexCount, xiiUInt32 uiStartVertexLocation=0U)
 Constructs a multi-draw item with specified vertex count and offset.
 

Public Attributes

xiiUInt32 m_uiVertexCount = 0U
 Number of vertices to draw.
 
xiiUInt32 m_uiStartVertexLocation = 0U
 Starting vertex offset in the bound vertex buffer.
 

Detailed Description

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

Specifies the number of vertices and the start vertex offset for one draw invocation.

See also
xiiGALCommandList::MultiDraw

Constructor & Destructor Documentation

◆ xiiGALMultiDrawItem()

XII_ALWAYS_INLINE xiiGALMultiDrawItem::xiiGALMultiDrawItem ( xiiUInt32 uiVertexCount,
xiiUInt32 uiStartVertexLocation = 0U )
inline

Constructs a multi-draw item with specified vertex count and offset.

Parameters
uiVertexCount- Number of vertices to draw.
uiStartVertexLocation- Starting vertex offset in the bound vertex buffer.

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