Diligent::DrawMeshIndirectCountAttribs struct

Defines the mesh indirect draw count command attributes.

This structure is used by IDeviceContext::DrawMeshIndirectCount().

Constructors, destructors, conversion operators

DrawMeshIndirectCountAttribs(DRAW_FLAGS _Flags, RESOURCE_STATE_TRANSITION_MODE _IndirectAttribsBufferStateTransitionMode, Uint32 _IndirectDrawArgsOffset, RESOURCE_STATE_TRANSITION_MODE _CountBufferStateTransitionMode, Uint32 _CountBufferOffset) noexcept
Initializes the structure members with user-specified values.

Public variables

DRAW_FLAGS Flags
Additional flags, see Diligent::DRAW_FLAGS.
Uint32 MaxCommandCount
The maximum number of commands that will be read from the count buffer.
RESOURCE_STATE_TRANSITION_MODE IndirectAttribsBufferStateTransitionMode
State transition mode for indirect draw arguments buffer.
Uint32 IndirectDrawArgsOffset
Offset from the beginning of the buffer to the location of draw command attributes.
RESOURCE_STATE_TRANSITION_MODE CountBufferStateTransitionMode
State transition mode for the count buffer.
Uint32 CountBufferOffset
Offset from the beginning of the buffer to the location of the command counter.