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

◆ get_current_framebuffer

std::function<void*(const std::shared_ptr<void>&)> MayaFlux::Registry::Service::DisplayService::get_current_framebuffer

Get current framebuffer for a window.

Parameters
window_handleWindow handle
Returns
Vulkan framebuffer handle (vk::Framebuffer cast to void*)

Returns the framebuffer corresponding to the current swapchain image. Updated internally during frame acquisition. Returns nullptr if window not registered or no framebuffer available.

Definition at line 73 of file DisplayService.hpp.

Referenced by MayaFlux::Portal::Graphics::RenderFlow::begin_render_pass().