|
Toast Engine
|


Public Member Functions | |
| MeshUpload (VulkanMesh &mesh, VulkanMesh::UploadData data, assets::HandleBase source, std::string_view debug_name={}) | |
| void | build (const VulkanCore &core) override |
| void | record (vk::CommandBuffer cmd) override |
| void | recordAcquire (sync::BarrierBatch &batch) override |
| On the consuming queue after the upload fence signalled. No op for an upload that stayed on one queue. | |
| auto | resource () -> IVulkanResource *override |
| Public Member Functions inherited from renderer::PendingResourceUpload | |
| 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. | |
Public Attributes | |
| VulkanMesh * | mesh |
| VulkanMesh::UploadData | data |
| assets::HandleBase | source |
| std::string | debug_name |
| vma::raii::Buffer | vertex_staging = nullptr |
| Public Attributes inherited from renderer::PendingResourceUpload | |
| vk::DeviceSize | host_bytes = 0 |
Additional Inherited Members | |
| Protected Attributes inherited from renderer::PendingResourceUpload | |
| sync::QueueHandoff | m_handoff |
|
overridevirtual |
Implements renderer::PendingResourceUpload.
|
overridevirtual |
Implements renderer::PendingResourceUpload.
|
overridevirtual |
On the consuming queue after the upload fence signalled. No op for an upload that stayed on one queue.
Reimplemented from renderer::PendingResourceUpload.
|
inlineoverridevirtual |
Implements renderer::PendingResourceUpload.