#include <WindowBus.h>
Inherits AZ::EBusTraits.
|
using | BusIdType = NativeWindowHandle |
|
|
virtual void | OnWindowResized (uint32_t width, uint32_t height) |
| This is called once when the window is Activated and also called if the user resizes the window.
|
|
virtual void | OnResolutionChanged (uint32_t width, uint32_t height) |
| This is called when the window's desired render resolution is changed.
|
|
virtual void | OnDpiScaleFactorChanged (float dpiScaleFactor) |
| This is called if the window's underyling DPI scaling factor changes.
|
|
virtual void | OnFullScreenModeChanged (bool fullscreen) |
| This is called when the fullscreen mode of the window changes.
|
|
virtual void | OnWindowClosed () |
| This is called when the window is deactivated from code or if the user closes the window.
|
|
virtual void | OnVsyncIntervalChanged (uint32_t interval) |
| This is called when vsync interval is changed.
|
|
virtual void | OnRefreshRateChanged (uint32_t refreshRate) |
| This is called if the main display's refresh rate changes.
|
|
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Multiple |
|
Bus for listening for notifications from a window. It could be a NativeWindow or an Editor window.
The documentation for this class was generated from the following file:
- Code/Framework/AzFramework/AzFramework/Windowing/WindowBus.h