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

◆ resize_surface

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

Resize rendering surface for a window.

Parameters
window_handleWindow to resize
widthNew width in pixels
heightNew height in pixels

Recreates swapchain and associated framebuffers for new dimensions. Must be called when window size changes to avoid rendering artifacts. Automatically waits for idle before reconstruction.

Definition at line 42 of file DisplayService.hpp.