Open 3D Engine Atom Gem API Reference 25.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::DrawPacketBuilder::DrawRequest Struct Reference

Public Member Functions

DeviceDrawPacketBuilder::DeviceDrawRequest GetDeviceDrawRequest (int deviceIndex)
 Returns the device-specific DeviceDrawRequest for the given index.
 

Public Attributes

DrawListTag m_listTag
 The filter tag used to direct the draw item.
 
u8 m_stencilRef = 0
 The stencil ref value used for this draw item.
 
RHI::StreamBufferIndices m_streamIndices
 Indices of the StreamBufferViews the DrawItem will use.
 
const ShaderResourceGroupm_uniqueShaderResourceGroup {}
 Shader resource group unique for this draw request.
 
const PipelineStatem_pipelineState {}
 The pipeline state assigned to this draw item.
 
DrawItemSortKey m_sortKey {}
 The sort key assigned to this draw item.
 
DrawFilterMask m_drawFilterMask = DrawFilterMaskDefaultValue
 

Member Data Documentation

◆ m_drawFilterMask

DrawFilterMask AZ::RHI::DrawPacketBuilder::DrawRequest::m_drawFilterMask = DrawFilterMaskDefaultValue

Mask for filtering the draw item into specific render pipelines. We use a mask because the same item could be reused in multiple pipelines. For example, a simple depth pre-pass could be present in multiple pipelines.


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