|
Toast Engine
|


Public Member Functions | |
| virtual auto | resource () -> IVulkanResource *=0 |
| virtual void | build (const VulkanCore &core)=0 |
| virtual void | record (vk::CommandBuffer cmd)=0 |
| virtual auto | canRecord () const -> bool |
| False while another upload has to be recorded first. | |
| virtual void | finished () |
| void | setQueueHandoff (const sync::QueueHandoff &handoff) noexcept |
| Before record(). The default keeps one queue and record() ends in a plain barrier. | |
| virtual void | recordAcquire (sync::BarrierBatch &batch) |
| On the consuming queue after the upload fence signalled. No op for an upload that stayed on one queue. | |
Public Attributes | |
| vk::DeviceSize | host_bytes = 0 |
Protected Attributes | |
| sync::QueueHandoff | m_handoff |
|
inlinevirtual |
On the consuming queue after the upload fence signalled. No op for an upload that stayed on one queue.
Reimplemented in renderer::MeshUpload, renderer::RawTextureUpload, renderer::TextureUpload, and renderer::VoxelSceneUpload.