Diligent::DrawIndexedIndirectAttribs struct

Defines the indexed indirect draw command attributes.

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

Constructors, destructors, conversion operators

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

Public variables

VALUE_TYPE IndexType
The type of the elements in the index buffer. Allowed values: VT_UINT16 and VT_UINT32.
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::DrawIndexedIndirectAttribs::DrawIndexedIndirectAttribs() noexcept

Initializes the structure members with default values.

Default values:

MemberDefault value
IndexTypeVT_UNDEFINED
FlagsDRAW_FLAG_NONE
IndirectAttribsBufferStateTransitionModeRESOURCE_STATE_TRANSITION_MODE_NONE
IndirectDrawArgsOffset0