|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API Vruta::Event MayaFlux::Kriya::window_resized | ( | std::shared_ptr< Core::Window > | window, |
| std::function< void(uint32_t, uint32_t)> | callback | ||
| ) |
Creates an Event coroutine that triggers on window resize.
Delivers the new logical window size (Core::WindowEventType::WINDOW_RESIZED), the same event the Vulkan backend uses to flag swapchain recreation. Not the framebuffer pixel size (Core::WindowEventType::FRAMEBUFFER_RESIZED).
| window | Window to listen to. |
| callback | Called with the new (width, height). |
Definition at line 244 of file InputEvents.cpp.
References callback, MayaFlux::Vruta::WindowEventFilter::event_type, window, and MayaFlux::Core::WINDOW_RESIZED.
Referenced by MayaFlux::Portal::Forma::Context::register_handlers().
Here is the caller graph for this function: