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

◆ get_swapchain_format

std::function<int(const std::shared_ptr<void>&)> MayaFlux::Registry::Service::DisplayService::get_swapchain_format

Get actual swapchain format for a window.

Parameters
window_handleWindow handle
Returns
Vulkan format (vk::Format cast to uint32_t)

Returns the actual format used by the window's swapchain. Used to ensure render passes are compatible with framebuffers.

Definition at line 62 of file DisplayService.hpp.

Referenced by MayaFlux::Buffers::RenderProcessor::initialize_pipeline().