Parameters for creating a ViewportContext. More...
#include <ViewportContextBus.h>
Public Attributes | |
RHI::Device * | device = nullptr |
The hardware device to bind the native window to, must not be null. | |
AzFramework::NativeWindowHandle | windowHandle = {} |
The native window to create a swap chain for, must be valid. | |
ScenePtr | renderScene |
The scene to render, optional. | |
AzFramework::ViewportId | id = AzFramework::InvalidViewportId |
Parameters for creating a ViewportContext.
AzFramework::ViewportId AZ::RPI::ViewportContextRequestsInterface::CreationParameters::id = AzFramework::InvalidViewportId |
The ID to use, if specified. This ID must be unique to this ViewportContext. If an invalid ID is specified (the default) then an ID will be assigned automatically.