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::ViewportContextNotifications Class Reference

Public Member Functions

virtual void OnViewportSizeChanged (AzFramework::WindowSize size)
 Called when the underlying native window size changes for a given viewport context.
 
virtual void OnViewportDpiScalingChanged (float dpiScale)
 Called when the window DPI scaling changes for a given viewport context.
 
virtual void OnViewportDefaultViewChanged (AZ::RPI::ViewPtr view)
 Called when the active view for a given viewport context name changes.
 
virtual void OnRenderTick ()
 
virtual void WaitForRender ()
 Called as a sync point for any render jobs in flight.
 

Member Function Documentation

◆ OnRenderTick()

virtual void AZ::RPI::ViewportContextNotifications::OnRenderTick ( )
inlinevirtual

Called when the viewport is to be rendered. Add draws to this functions if they only need to be rendered to this viewport.


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