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

◆ recreate_swapchain_for_context()

void MayaFlux::Core::BackendWindowHandler::recreate_swapchain_for_context ( WindowRenderContext context)
private

Recreate the swapchain and related resources for a window.

Parameters
contextWindow render context

Definition at line 415 of file BackendWindowHandler.cpp.

416{
418
419 if (recreate_swapchain_internal(context)) {
420 context.needs_recreation = false;
422 "Recreated swapchain for window '{}' ({}x{})",
423 context.window->get_create_info().title,
424 context.window->get_state().current_width,
425 context.window->get_state().current_height);
426 }
427}
#define MF_RT_WARN(comp, ctx,...)
bool recreate_swapchain_internal(WindowRenderContext &context)
Internal logic to recreate swapchain and related resources.
void wait_idle() const
Wait for device idle.
Definition VKContext.hpp:97
@ GraphicsCallback
Graphics/visual rendering callback - frame-rate real-time.
@ Core
Core engine, backend, subsystems.

References MayaFlux::Journal::Core, MayaFlux::Journal::GraphicsCallback, MF_RT_WARN, MayaFlux::Core::WindowRenderContext::needs_recreation, and MayaFlux::Core::WindowRenderContext::window.