MayaFlux 0.2.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 multiple dynamic render calls are compatible

Definition at line 72 of file DisplayService.hpp.

Referenced by MayaFlux::Buffers::RenderProcessor::execute_shader(), and MayaFlux::Buffers::RenderProcessor::initialize_pipeline().