Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::DrawMeshAttribs Struct Reference

Defines the mesh draw command attributes. More...

#include <DeviceContext.h>

Public Member Functions

constexpr DrawMeshAttribs () noexcept
 Initializes the structure members with default values.
 

Public Attributes

Uint32 ThreadGroupCountX = 1
 The number of groups dispatched in X direction.
 
Uint32 ThreadGroupCountY = 1
 The number of groups dispatched in Y direction.
 
Uint32 ThreadGroupCountZ = 1
 The number of groups dispatched in Y direction.
 
DRAW_FLAGS Flags = DRAW_FLAG_NONE
 Additional flags, see Diligent::DRAW_FLAGS.
 
const DrawMeshAttribsMtlpMtlAttribs = nullptr
 

Detailed Description

Defines the mesh draw command attributes.

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

Member Data Documentation

◆ pMtlAttribs

const DrawMeshAttribsMtl* Diligent::DrawMeshAttribs::pMtlAttribs = nullptr

Metal-specific mesh draw command attributes.

Remarks
This member is only used by Metal backend and is ignored by others.