Open 3D Engine AzFramework API Reference  2205.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Public Types | Public Member Functions | Static Public Attributes | List of all members
AzFramework::WindowNotifications Class Reference

#include <WindowBus.h>

Inherits EBusTraits.

Public Types

using BusIdType = NativeWindowHandle
 

Public Member Functions

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 OnDpiScaleFactorChanged (float dpiScaleFactor)
 This is called if the window's underyling DPI scaling factor 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 ([[maybe_unused]] uint32_t refreshRate)
 This is called if the main display's refresh rate changes.
 

Static Public Attributes

static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::ById
 
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple
 

Detailed Description

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: