DrawMeshIndirectCountAttribs struct
Defines the mesh indirect draw count command attributes.
Contents
This structure is used by IDeviceContext::
Constructors, destructors, conversion operators
-
DrawMeshIndirectCountAttribs(DRAW_
FLAGS _Flags, RESOURCE_ STATE_ TRANSITION_ MODE _IndirectAttribsBufferStateTransitionMode, Uint32 _IndirectDrawArgsOffset, RESOURCE_ STATE_ TRANSITION_ MODE _CountBufferStateTransitionMode, Uint32 _CountBufferOffset) noexcept - Initializes the structure members with user-specified values.
Public variables
-
DRAW_
FLAGS Flags - Additional flags, see Diligent::
DRAW_FLAGS. - Uint32 MaxCommandCount
- The maximum number of commands that will be read from the count buffer.
-
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.
-
RESOURCE_
STATE_ TRANSITION_ MODE CountBufferStateTransitionMode - State transition mode for the count buffer.
- Uint32 CountBufferOffset
- Offset from the beginning of the buffer to the location of the command counter.