MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ allocate_raw_buffer

std::function<void(size_t, uint32_t, uint32_t, bool, void*&, void*&, void*&)> MayaFlux::Registry::Service::BufferService::allocate_raw_buffer

Allocate a raw buffer/memory pair without an owning VKBuffer.

Parameters
size_bytesBuffer capacity in bytes.
usageOpaque backend usage flags (vk::BufferUsageFlags, cast to void* representation by convention).
memory_propertiesOpaque backend memory property flags.
host_visibleWhether to map the allocation and populate the mapped pointer output.
out_bufferReceives the created buffer handle (opaque).
out_memoryReceives the bound memory handle (opaque).
out_mapped_ptrReceives the mapped host pointer, or nullptr if not host-visible.

Definition at line 29 of file BufferService.hpp.