|
|
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 DeviceGeometryView * | m_geometryView = nullptr |
| | The GeometryView used when drawing with an indexed draw call.
|
| |
|
const DevicePipelineState * | m_pipelineState = nullptr |
| |
|
const DeviceShaderResourceGroup *const * | m_shaderResourceGroups = nullptr |
| | Array of shader resource groups to bind (count must match m_shaderResourceGroupCount).
|
| |
|
const DeviceShaderResourceGroup * | m_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 Scissor * | m_scissors = nullptr |
| |
| const Viewport * | m_viewports = nullptr |
| |
◆ 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:
- Gems/Atom/RHI/Code/Include/Atom/RHI/DeviceDrawItem.h