#include <WindowBus.h>
Inherits AZ::EBusTraits.
Public Types | |
using | BusIdType = NativeWindowHandle |
Public Member Functions | |
virtual bool | IsExclusiveFullScreenPreferred () const |
virtual bool | GetExclusiveFullScreenState () const |
virtual bool | SetExclusiveFullScreenState (bool fullScreenState) |
Static Public Attributes | |
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
Bus used by the NativeWindow class to send exclusive full screen related requests to the renderer.
This is currently only needed if the Windows DX12 renderer does not support tearing, in which case the renderer will connect to this bus and assume responsibility for maintaining and transitioning the full screen state of the corresponding NativeWindowHandle. On platforms where full screen state is handled exclusively by AzFramework::NativeWindow (eg. Mac) this will never be used, and nor will it ever be used for platforms that cannot perform full screen transitions at all (eg. iOS/Android).
Do not call these directly, use the WindowRequests bus instead to get or set the full screen state.
|
inlinevirtual |
This will be called when the full screen state of a NativeWindow is requested using WindowRequests::GetFullScreenState, but only if the renderer prefers to use their exclusive full screen mode (ie. IsExclusiveFullScreenPreferred() == true).
Do not call directly, use WindowRequests::GetFullScreenState instead to get the current full screen state of a window.
|
inlinevirtual |
This will be called when the NativeWindow needs to know whether the renderer prefers to use exclusive full screen mode.
Do not call directly, use WindowRequests::GetFullScreenState instead to get the current full screen state of a window.
|
inlinevirtual |
This will be called when the full screen state of a NativeWindow is set using WindowRequests::SetFullScreenState, but only if the renderer prefers to use exclusive full screen mode (ie. IsExclusiveFullScreenPreferred() == true).
Do not call directly, use WindowRequests::GetFullScreenState instead to set the full screen state of a window.
[in] | fullScreenState | The full screen state that was passed to WindowRequests::SetFullScreenState. |