Diligent::DrawIndirectAttribs struct

Defines the indirect draw command attributes.

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

Constructors, destructors, conversion operators

DrawIndirectAttribs() noexcept
Initializes the structure members with default values.
DrawIndirectAttribs(DRAW_FLAGS _Flags, RESOURCE_STATE_TRANSITION_MODE _IndirectAttribsBufferStateTransitionMode, Uint32 _IndirectDrawArgsOffset = 0) noexcept
Initializes the structure members with user-specified values.

Public variables

DRAW_FLAGS Flags
Additional flags, see Diligent::DRAW_FLAGS.
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.

Function documentation

Diligent::DrawIndirectAttribs::DrawIndirectAttribs() noexcept

Initializes the structure members with default values.

Default values:

MemberDefault value
FlagsDRAW_FLAG_NONE
IndirectAttribsBufferStateTransitionModeRESOURCE_STATE_TRANSITION_MODE_NONE
IndirectDrawArgsOffset0