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

Backend display and presentation service interface. More...

#include <DisplayService.hpp>

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

Public Attributes

std::function< void(const std::shared_ptr< void > &, uint64_t)> submit_and_present
 Submit a primary command buffer and present the frame.
 
std::function< void()> wait_idle
 Wait for all GPU operations to complete.
 
std::function< void(const std::shared_ptr< void > &, uint32_t, uint32_t)> resize_surface
 Resize rendering surface for a window.
 
std::function< uint32_t(const std::shared_ptr< void > &)> get_swapchain_image_count
 Get current swapchain image count.
 
std::function< uint64_t(const std::shared_ptr< void > &)> acquire_next_swapchain_image
 Acquire the next swapchain image for a window.
 
std::function< int(const std::shared_ptr< void > &)> get_swapchain_format
 Get actual swapchain format for a window.
 
std::function< void(const std::shared_ptr< void > &, uint32_t &, uint32_t &)> get_swapchain_extent
 Get swapchain extent for a window.
 
std::function< void *(const std::shared_ptr< void > &)> get_current_image_view
 Get current swapchain image view for rendering.
 
std::function< uint64_t(const std::shared_ptr< void > &)> get_current_swapchain_image
 Get the VkImage bits for the most recently acquired swapchain image.
 
std::function< bool(const std::shared_ptr< void > &window_handle, void *dst, uint32_t x_offset, uint32_t y_offset, uint32_t pixel_width, uint32_t pixel_height, size_t byte_count)> readback_swapchain_region
 Copy a sub-rectangle of the last presented swapchain image into a caller-supplied host buffer.
 
std::function< void(const std::shared_ptr< void > &)> ensure_depth_attachment
 Ensure a depth attachment image exists for the window.
 
std::function< void *(const std::shared_ptr< void > &)> get_depth_image_view
 Get depth image view for the window.
 
std::function< uint32_t(const std::shared_ptr< void > &)> get_depth_format
 Get depth image format for the window.
 

Detailed Description

Backend display and presentation service interface.

Manages window surfaces, swapchains, and frame presentation. Handles window resize events and ensures proper surface recreation.

Definition at line 11 of file DisplayService.hpp.


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