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