XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALDrawCommandCapabilityFlags Struct Reference

This describes the draw command compatibilty flags. More...

#include <GraphicsTypes.h>

Classes

struct  Bits
 

Public Types

enum  Enum : StorageType {
  None = 0U , BaseVertex = XII_BIT(1) , DrawIndirect = XII_BIT(2) , DrawIndirectFirstInstance = XII_BIT(3) ,
  NativeMultiDrawIndirect = XII_BIT(4) , DrawIndirectCounterBuffer = XII_BIT(5) , Default = None
}
 
using StorageType = xiiUInt8
 

Detailed Description

This describes the draw command compatibilty flags.

Member Enumeration Documentation

◆ Enum

Enumerator
None 

No draw command capabilities.

BaseVertex 

Indicates that device supports non-zero base vertex for an indexed draw.

DrawIndirect 

Indicates that device supports indirect draw/dispatch commands.

DrawIndirectFirstInstance 

Indicates that first instance location of the indirect draw command can be greater than zero.

NativeMultiDrawIndirect 

Indicates that device natively supports indirect draw commands with draw count greater than 1. When this flag is not set, the commands will be emulated on the host, which will produce correct results, but will be slower.

DrawIndirectCounterBuffer 

Indicates that indirect and indexed indirect draw commands may take non-null counter buffer. If this flag is not set, the number of draw commands must be specified through the command attributes.


The documentation for this struct was generated from the following file: