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

Public Attributes

DrawInstanceArguments m_drawInstanceArgs
 
StreamBufferIndices m_streamIndices
 Indices of the StreamBufferViews in the GeometryView that this DrawItem will use.
 
uint8_t m_stencilRef = 0
 
uint8_t m_shaderResourceGroupCount = 0
 
uint8_t m_rootConstantSize = 0
 
uint8_t m_scissorsCount = 0
 
uint8_t m_viewportsCount = 0
 
union { 
 
   struct { 
 
      bool   m_enabled: 1 
 
   }  
 
   uint8_t   m_allFlags = 1 
 
};  
 
const DeviceGeometryViewm_geometryView = nullptr
 The GeometryView used when drawing with an indexed draw call.
 
const DevicePipelineStatem_pipelineState = nullptr
 
const DeviceShaderResourceGroup *const * m_shaderResourceGroups = nullptr
 Array of shader resource groups to bind (count must match m_shaderResourceGroupCount).
 
const DeviceShaderResourceGroupm_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::DeviceDrawItem::m_scissors = nullptr

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

◆ m_viewports

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

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


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