DrawIndexedIndirectAttribs struct
Defines the indexed indirect draw command attributes.
Contents
This structure is used by IDeviceContext::
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:
| Member | Default value |
|---|---|
| IndexType | VT_UNDEFINED |
| Flags | DRAW_FLAG_NONE |
| IndirectAttribsBufferStateTransitionMode | RESOURCE_STATE_TRANSITION_MODE_NONE |
| IndirectDrawArgsOffset | 0 |