|
void | Begin (IAllocator *allocator) |
|
void | SetDrawArguments (const DrawArguments &drawArguments) |
|
void | SetIndexBufferView (const IndexBufferView &indexBufferView) |
|
void | SetRootConstants (AZStd::span< const uint8_t > rootConstants) |
|
void | SetScissors (AZStd::span< const Scissor > scissors) |
|
void | SetScissor (const Scissor &scissor) |
|
void | SetViewports (AZStd::span< const Viewport > viewports) |
|
void | SetViewport (const Viewport &viewport) |
|
void | AddShaderResourceGroup (const ShaderResourceGroup *shaderResourceGroup) |
|
void | AddDrawItem (const DrawRequest &request) |
|
const DrawPacket * | End () |
|
const DrawPacket * | Clone (const DrawPacket *original) |
|
|
static const size_t | DrawItemCountMax = 16 |
|
◆ Clone()
Make a copy of an existing DrawPacket. Note: the copy will reference the same DrawSrg as the original, so it is not possible to vary the DrawSrg values between the original draw packet and the cloned one. Only settings that can be modified via the DrawPacket interface can be changed after cloning, such as SetRootConstant and SetInstanceCount
The documentation for this class was generated from the following file:
- Gems/Atom/RHI/Code/Include/Atom/RHI/DrawPacketBuilder.h