Inherits AZStd::intrusive_base.
|
| | AZ_DISABLE_COPY_MOVE (DrawPacket) |
| |
|
DrawListMask | GetDrawListMask () const |
| | Returns the mask representing all the draw lists affected by the packet.
|
| |
|
size_t | GetDrawItemCount () const |
| | Returns the number of draw items stored in the packet.
|
| |
| s32 | GetDrawListIndex (DrawListTag drawListTag, DrawFilterMask materialPipelineMask=DrawFilterMaskDefaultValue) const |
| |
|
DrawItem * | GetDrawItem (size_t index) |
| | Returns the DeviceDrawItem at the given index.
|
| |
|
const DrawItem * | GetDrawItem (size_t index) const |
| |
| DrawItem * | GetDrawItem (DrawListTag drawListTag, DrawFilterMask materialPipelineMask=DrawFilterMaskDefaultValue) |
| |
|
const DrawItem * | GetDrawItem (DrawListTag drawListTag, DrawFilterMask materialPipelineMask=DrawFilterMaskDefaultValue) const |
| |
|
DrawItemProperties | GetDrawItemProperties (size_t index) const |
| | Returns the draw item and its properties associated with the provided index.
|
| |
|
DrawListTag | GetDrawListTag (size_t index) const |
| | Returns the draw list tag associated with the provided index, used to filter the draw item into an appropriate pass.
|
| |
| DrawFilterMask | GetDrawFilterMask (size_t index) const |
| |
|
void | SetRootConstant (uint32_t offset, const AZStd::span< u8 > &data) |
| | Update the root constant at the specified interval. The same root constants are shared by all draw items in the draw packet.
|
| |
|
void | SetInstanceCount (uint32_t instanceCount) |
| | Set the instance count in all draw items.
|
| |
|
const DeviceDrawPacket * | GetDeviceDrawPacket (int deviceIndex) const |
| |
DrawPacket is a multi-device class that holds a map of device-specific DrawPackets as well as a vector of MultiDeviceDrawItems, corresponding SortKeys, DrawListTags and DrawListMasks. A DrawPacket is only intened to be contructed via the DrawPacketBuilder. Individual device-specific DrawPackets are allocated as packed data structures, referenced via RHI::Ptrs in a map, indexed by the device-index.