MCPcopy Create free account
hub / github.com/a2flo/floor / sync_vulkan_buffer

Method sync_vulkan_buffer

include/floor/device/device_buffer.hpp:160–162  ·  view source on GitHub ↗

synchronizes the contents of this buffer with the shared Vulkan buffer NOTE: "cqueue" must be a device_queue of the compute context (or nullptr), "vk_queue" must be a device_queue of the Vulkan context (or nullptr)

Source from the content-addressed store, hash-verified

158 //! synchronizes the contents of this buffer with the shared Vulkan buffer
159 //! NOTE: "cqueue" must be a device_queue of the compute context (or nullptr), "vk_queue" must be a device_queue of the Vulkan context (or nullptr)
160 virtual bool sync_vulkan_buffer(const device_queue* cqueue floor_unused, const vulkan_queue* vk_queue floor_unused) const {
161 return false;
162 }
163
164 //! returns the underlying Vulkan buffer that should be used on the device (i.e. this or a shared buffer)
165 //! NOTE: when synchronization flags are set, this may synchronize buffer contents

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected