Open 3D Engine Atom Gem API Reference  2205.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Public Member Functions | Public Attributes | List of all members
AZ::RHI::DrawItemProperties Struct Reference

Public Member Functions

 DrawItemProperties (const DrawItem *item, DrawItemSortKey sortKey=0, DrawFilterMask filterMask=DrawFilterMaskDefaultValue)
 
bool operator== (const DrawItemProperties &rhs) const
 
bool operator!= (const DrawItemProperties &rhs) const
 
bool operator< (const DrawItemProperties &rhs) const
 

Public Attributes

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

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


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