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

Public Attributes

DrawArguments m_arguments
 
uint8_t m_stencilRef = 0
 
uint8_t m_streamBufferViewCount = 0
 
uint8_t m_shaderResourceGroupCount = 0
 
uint8_t m_rootConstantSize = 0
 
uint8_t m_scissorsCount = 0
 
uint8_t m_viewportsCount = 0
 
const PipelineStatem_pipelineState = nullptr
 
const IndexBufferViewm_indexBufferView = nullptr
 The index buffer used when drawing with an indexed draw call.
 
const StreamBufferViewm_streamBufferViews = nullptr
 Array of stream buffers to bind (count must match m_streamBufferViewCount).
 
const ShaderResourceGroup *const * m_shaderResourceGroups = nullptr
 Array of shader resource groups to bind (count must match m_shaderResourceGroupCount).
 
const ShaderResourceGroupm_uniqueShaderResourceGroup = nullptr
 Unique SRG, not shared within the draw packet. This is usually a per-draw SRG, populated with the shader variant fallback key.
 
const uint8_t * m_rootConstants = nullptr
 Array of root constants to bind (count must match m_rootConstantSize).
 
const Scissorm_scissors = nullptr
 
const Viewportm_viewports = nullptr
 

Member Data Documentation

◆ m_scissors

const Scissor* AZ::RHI::DrawItem::m_scissors = nullptr

List of scissors to be applied to this draw item only. Scissor will be restore to the previous state after the DrawItem has been processed.

◆ m_viewports

const Viewport* AZ::RHI::DrawItem::m_viewports = nullptr

List of viewports to be applied to this draw item only. Viewports will be restore to the previous state after the DrawItem has been processed.


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