#include <WindowBus.h>
Inherits EBusTraits.
|
using | BusIdType = NativeWindowHandle |
|
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
|
Bus for sending requests to any kind of window. It could be a NativeWindow or an Editor window.
◆ CanToggleFullScreenState()
virtual bool AzFramework::WindowRequests::CanToggleFullScreenState |
( |
| ) |
const |
|
pure virtual |
Can the full screen state of the window be changed/toggled?
- Returns
- True if the window can enter/exit full screen, false otherwise.
◆ GetClientAreaSize()
virtual WindowSize AzFramework::WindowRequests::GetClientAreaSize |
( |
| ) |
const |
|
pure virtual |
Get the client area size. This is the size that can be rendered to. On some platforms this may not be the correct size until Activate is called.
◆ GetDpiScaleFactor()
virtual float AzFramework::WindowRequests::GetDpiScaleFactor |
( |
| ) |
const |
|
pure virtual |
Returns a scalar multiplier representing how many dots-per-inch this window has, compared to a "standard" value of 96, the default for Windows in a DPI unaware setting. This can be used to scale user interface elements to ensure legibility on high density displays.
◆ GetFullScreenState()
virtual bool AzFramework::WindowRequests::GetFullScreenState |
( |
| ) |
const |
|
pure virtual |
Get the full screen state of the window.
- Returns
- True if the window is currently in full screen, false otherwise.
◆ SetFullScreenState()
virtual void AzFramework::WindowRequests::SetFullScreenState |
( |
bool |
fullScreenState | ) |
|
|
pure virtual |
Set the full screen state of the window.
- Parameters
-
[in] | fullScreenState | The full screen state to set. |
◆ SetSyncInterval()
virtual bool AzFramework::WindowRequests::SetSyncInterval |
( |
uint32_t |
newSyncInterval | ) |
|
|
pure virtual |
Sets the sync interval which tells the drivers the number of v-blanks to synchronize with Returns if the sync interval was successfully set
The documentation for this class was generated from the following file:
- Code/Framework/AzFramework/AzFramework/Windowing/WindowBus.h