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

Draw command properties. More...

#include <GraphicsTypes.h>

Public Member Functions

constexpr bool operator== (const DrawCommandProperties &RHS) const
 Comparison operator tests if two structures are equivalent.
 

Public Attributes

DRAW_COMMAND_CAP_FLAGS CapFlags = DRAW_COMMAND_CAP_FLAG_NONE
 Draw command capability flags, see Diligent::DRAW_COMMAND_CAP_FLAGS.
 
Uint32 MaxIndexValue = 0
 Maximum supported index value for index buffer.
 
Uint32 MaxDrawIndirectCount = 0
 

Detailed Description

Draw command properties.

Member Function Documentation

◆ operator==()

bool Diligent::DrawCommandProperties::operator== ( const DrawCommandProperties & RHS) const
inlineconstexpr

Comparison operator tests if two structures are equivalent.

Parameters
[in]RHS- reference to the structure to perform comparison with
Returns
  • True if all members of the two structures are equal.
  • False otherwise.

Member Data Documentation

◆ MaxDrawIndirectCount

Uint32 Diligent::DrawCommandProperties::MaxDrawIndirectCount = 0

Maximum supported draw commands counter for IDeviceContext::DrawIndirect() and IDeviceContext::DrawIndexedIndirect().