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

MultiDraw command attributes. More...

#include <DeviceContext.h>

Public Attributes

Uint32 DrawCount = 0
 The number of draw items to execute.
 
const MultiDrawItempDrawItems = nullptr
 A pointer to the array of DrawCount draw command items.
 
DRAW_FLAGS Flags = DRAW_FLAG_NONE
 Additional flags, see Diligent::DRAW_FLAGS.
 
Uint32 NumInstances = 1
 
Uint32 FirstInstanceLocation = 0
 

Detailed Description

MultiDraw command attributes.

Member Data Documentation

◆ FirstInstanceLocation

Uint32 Diligent::MultiDrawAttribs::FirstInstanceLocation = 0

LOCATION (or INDEX, but NOT the byte offset) in the vertex buffer to start reading instance data from.

◆ NumInstances

Uint32 Diligent::MultiDrawAttribs::NumInstances = 1

The number of instances to draw. If more than one instance is specified, instanced draw call will be performed.