Diligent::DrawMeshIndirectAttribs struct

Defines the mesh indirect draw command attributes.

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

Constructors, destructors, conversion operators

DrawMeshIndirectAttribs() noexcept
Initializes the structure members with default values.
DrawMeshIndirectAttribs(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::DrawMeshIndirectAttribs::DrawMeshIndirectAttribs() noexcept

Initializes the structure members with default values.

Default values:

MemberDefault value
FlagsDRAW_FLAG_NONE
IndirectAttribsBufferStateTransitionModeRESOURCE_STATE_TRANSITION_MODE_NONE
IndirectDrawArgsOffset0