One command buffer of a submission, as a backend receives it: the slot the buffer occupied before it was consumed, plus its validated commands in recording order. More...
#include "donner/gpu/Device.h"
Public Attributes | |
| uint32_t | slotIndex = 0 |
| Slot the command buffer occupied before consumption. | |
| std::span< const Command > | commands |
| Validated commands, in recording order. | |
One command buffer of a submission, as a backend receives it: the slot the buffer occupied before it was consumed, plus its validated commands in recording order.
commands aliases storage the submitting device owns for the duration of the Device::onSubmit call this struct is handed to, and nothing else keeps it alive. A backend that needs the commands after that call returns copies them; it must not retain the span, or this struct, past the call.
| std::span<const Command> donner::gpu::SubmittedCommandBuffer::commands |
Validated commands, in recording order.
| uint32_t donner::gpu::SubmittedCommandBuffer::slotIndex = 0 |
Slot the command buffer occupied before consumption.