Open 3D Engine Atom Gem API Reference 26.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RHI::DrawItemProperties Struct Reference

Public Member Functions

bool operator== (const DrawItemProperties &rhs) const
 
bool operator!= (const DrawItemProperties &rhs) const
 
bool operator< (const DrawItemProperties &rhs) const
 
DeviceDrawItemProperties GetDeviceDrawItemProperties (int deviceIndex) const
 Returns the device-specific DeviceDrawItemProperties for the given index.
 

Public Attributes

const DrawItemm_item = nullptr
 A pointer to the draw item.
 
DrawItemSortKey m_sortKey = 0
 
DrawFilterMask m_drawFilterMask = DrawFilterMaskDefaultValue
 A filter mask which helps decide whether to submit this draw item to a Scope's command list or not.
 
float m_depth = 0.0f
 

Member Data Documentation

◆ m_depth

float AZ::RHI::DrawItemProperties::m_depth = 0.0f

A depth value this draw item which is used for sorting draw items in DrawList Check RHI::SortDrawList() function for detail

◆ m_sortKey

DrawItemSortKey AZ::RHI::DrawItemProperties::m_sortKey = 0

A sorting key of this draw item which is used for sorting draw items in DrawList Check RHI::SortDrawList() function for detail


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