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

◆ get_swapchain_extent

std::function<void(const std::shared_ptr<void>&, uint32_t&, uint32_t&)> MayaFlux::Registry::Service::DisplayService::get_swapchain_extent

Get swapchain extent for a window.

Parameters
window_handleWindow handle
out_widthOutput parameter for width
out_heightOutput parameter for height

Retrieves current swapchain dimensions. Sets out_width and out_height to 0 if window not registered or swapchain unavailable.

Definition at line 84 of file DisplayService.hpp.

Referenced by MayaFlux::Portal::Graphics::RenderFlow::begin_render_pass(), and MayaFlux::Buffers::RenderProcessor::processing_function().