Struct window_framebuffer_resize

Inheritance Relationships

Base Type

Struct Documentation

struct legion::application::window_framebuffer_resize : public legion::core::events::event<window_framebuffer_resize>

Public Functions

window_framebuffer_resize() = default
inline window_framebuffer_resize(ecs::component_handle<window> windowHandle, math::ivec2 size)
inline virtual bool persistent() override

Returns a value that decides whether the event should be kept in the bus or destroyed after all subscribers have been notified.

inline virtual bool unique() override

Returns a value that decides whether more than one of this event type should be able to exist. If true and an event of this type already exists then the event-bus will only notify the subscribers and nothing else.

Public Members

ecs::component_handle<window> windowHandle
math::ivec2 size