![]() |
XII Release 0.1.0
|
Describes parameters for issuing non-indexed draw calls. More...
#include <CommandList.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
XII_ALWAYS_INLINE | xiiGALDrawDescription ()=default |
Default-initialized draw description (0 vertices, 1 instance). | |
XII_ALWAYS_INLINE | xiiGALDrawDescription (xiiUInt32 uiVertexCount, xiiUInt32 uiInstanceCount=1U, xiiUInt32 uiStartVertexLocation=0U, xiiUInt32 uiFirstInstanceLocation=0U) |
Constructs a draw description with specified parameters. | |
Describes parameters for issuing non-indexed draw calls.
Defines the vertex and instance counts, as well as starting locations, for issuing a basic GPU draw call. Used in graphics command encoding where geometry is streamed directly from vertex buffers.
|
inline |
Constructs a draw description with specified parameters.
uiVertexCount | - Number of vertices to draw. |
uiInstanceCount | - Number of instances to render. Defaults to 1. |
uiStartVertexLocation | - Index of the first vertex to read. |
uiFirstInstanceLocation | - Instance ID for the first instance. |