|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
Platform-agnostic window wrapper. More...
#include <Window.hpp>
Inheritance diagram for MayaFlux::Core::Window:
Collaboration diagram for MayaFlux::Core::Window:Public Member Functions | |
| virtual | ~Window ()=default |
| virtual void | show ()=0 |
| Show the window. | |
| virtual void | hide ()=0 |
| Hide the window. | |
| virtual void | destroy ()=0 |
| Destroy the window and release resources. | |
| virtual bool | should_close () const =0 |
| Poll for window events (non-blocking) | |
| virtual const WindowState & | get_state () const =0 |
| Get the current window state. | |
| virtual const WindowCreateInfo & | get_create_info () const =0 |
| virtual void | set_input_config (const InputConfig &config)=0 |
| Set input configuration (keyboard, mouse, cursor) | |
| virtual const InputConfig & | get_input_config () const =0 |
| Get current input configuration. | |
| virtual void | set_event_callback (WindowEventCallback callback)=0 |
| Set the callback function for window events. | |
| virtual void * | get_native_handle () const =0 |
| Get native window handle (platform-specific) | |
| virtual void * | get_native_display () const =0 |
| Get native display handle (platform-specific) | |
| virtual void | set_title (const std::string &title)=0 |
| Set window title, size, or position. | |
| virtual void | set_size (uint32_t width, uint32_t height)=0 |
| Resize the window. | |
| virtual void | set_position (uint32_t x, uint32_t y)=0 |
| Move the window to a new position. | |
| virtual Vruta::EventSource & | get_event_source ()=0 |
| Gets the event source for awaiting events. | |
| virtual const Vruta::EventSource & | get_event_source () const =0 |
| virtual bool | is_graphics_registered () const =0 |
| Check if window is registered with graphics subsystem. | |
| virtual void | set_graphics_registered (bool registered)=0 |
| Mark window as registered/unregistered with graphics Called by GraphicsSubsystem during register/unregister. | |
| virtual void | register_rendering_buffer (std::shared_ptr< Buffers::VKBuffer > buffer)=0 |
| Register a VKBuffer as rendering to this window. | |
| virtual void | unregister_rendering_buffer (std::shared_ptr< Buffers::VKBuffer > buffer)=0 |
| Unregister a VKBuffer from this window. | |
| virtual void | track_frame_command (uint64_t cmd_id)=0 |
| Track a secondary command buffer for this frame. | |
| virtual const std::vector< uint64_t > & | get_frame_commands () const =0 |
| Get all command buffers recorded for this frame. | |
| virtual void | clear_frame_commands ()=0 |
| Clear tracked commands for this frame. | |
| virtual std::vector< std::shared_ptr< Buffers::VKBuffer > > | get_rendering_buffers () const =0 |
| Get all VKBuffers currently rendering to this window. | |
Platform-agnostic window wrapper.
Wraps a window (provided via a backend) and provides a unified interface for window management, event handling, and state tracking.
Definition at line 22 of file Window.hpp.