MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Registry::Service::BufferService Struct Reference

Backend buffer management service interface. More...

#include <BufferService.hpp>

+ Collaboration diagram for MayaFlux::Registry::Service::BufferService:

Public Attributes

std::function< void(const std::shared_ptr< void > &)> initialize_buffer
 Initialize a buffer object.
 
std::function< void(const std::shared_ptr< void > &)> destroy_buffer
 Destroy a buffer and free its associated memory.
 
std::function< void *(void *, size_t, size_t)> map_buffer
 Map buffer memory to host-visible pointer.
 
std::function< void(void *)> unmap_buffer
 Unmap previously mapped buffer memory.
 
std::function< void(void *, size_t, size_t)> flush_range
 Flush mapped memory range (make host writes visible to device)
 
std::function< void(void *, size_t, size_t)> invalidate_range
 Invalidate mapped memory range (make device writes visible to host)
 
std::function< void(std::function< void(void *)>)> execute_immediate
 Execute commands immediately with synchronization.
 
std::function< void(std::function< void(void *)>)> record_deferred
 Record commands for deferred execution.
 

Detailed Description

Backend buffer management service interface.

Defines GPU/backend buffer operations that any graphics backend must provide. Implementations are backend-specific (Vulkan, OpenGL, Metal, DirectX, etc.). All handles are opaque to maintain backend independence while providing type safety.

Definition at line 12 of file BufferService.hpp.


The documentation for this struct was generated from the following file: