Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RPI::ViewportContextRequestsInterface::CreationParameters Struct Reference

Parameters for creating a ViewportContext. More...

#include <ViewportContextBus.h>

Public Attributes

RHI::Devicedevice = 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
 

Detailed Description

Parameters for creating a ViewportContext.

Member Data Documentation

◆ id

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.


The documentation for this struct was generated from the following file: