XII Release 0.1.0
Loading...
Searching...
No Matches
xiiRemoteEngineProcessViewContext Class Reference
Inheritance diagram for xiiRemoteEngineProcessViewContext:
[legend]

Public Member Functions

 xiiRemoteEngineProcessViewContext (xiiEngineProcessDocumentContext *pContext)
 
- Public Member Functions inherited from xiiEngineProcessViewContext
 xiiEngineProcessViewContext (xiiEngineProcessDocumentContext *pContext)
 
void SetViewID (xiiUInt32 uiId)
 
xiiEngineProcessDocumentContextGetDocumentContext () const
 
virtual void SetupRenderTarget (xiiSharedPtr< xiiGALSwapChain > pSwapChain, const xiiRenderTargets *pRenderTargets, xiiUInt16 uiWidth, xiiUInt16 uiHeight)
 
virtual void Redraw (bool bRenderEditorGizmos)
 
xiiViewHandle GetViewHandle () const
 
void DrawSimpleGrid () const
 

Protected Member Functions

virtual void HandleViewMessage (const xiiEditorEngineViewMsg *pMsg) override
 
virtual xiiViewHandle CreateView () override
 Create the actual view.
 
- Protected Member Functions inherited from xiiEngineProcessViewContext
void SendViewMessage (xiiEditorEngineViewMsg *pViewMsg)
 
void HandleWindowUpdate (xiiWindowHandle hWnd, xiiUInt16 uiWidth, xiiUInt16 uiHeight)
 
void OnSwapChainChanged (xiiSharedPtr< xiiGALSwapChain > pSwapChain, xiiSizeU32 size)
 
virtual void SetCamera (const xiiViewRedrawMsgToEngine *pMsg)
 
virtual xiiRenderPipelineResourceHandle CreateDefaultRenderPipeline ()
 Returns the handle to the default render pipeline.
 
virtual xiiRenderPipelineResourceHandle CreateDebugRenderPipeline ()
 Returns the handle to the debug render pipeline.
 

Static Protected Attributes

static xiiUInt32 s_uiActiveViewID = 0
 
static xiiRemoteEngineProcessViewContexts_pActiveRemoteViewContext = nullptr
 

Additional Inherited Members

- Static Public Member Functions inherited from xiiEngineProcessViewContext
static bool FocusCameraOnObject (xiiCamera &inout_camera, const xiiBoundingBoxSphere &objectBounds, float fFov, const xiiVec3 &vViewDir)
 Focuses camera on the given object.
 
- Protected Attributes inherited from xiiEngineProcessViewContext
xiiCamera m_Camera
 
xiiViewHandle m_hView
 
xiiUInt32 m_uiViewID
 

Member Function Documentation

◆ CreateView()

xiiViewHandle xiiRemoteEngineProcessViewContext::CreateView ( )
overrideprotectedvirtual

Create the actual view.

Implements xiiEngineProcessViewContext.

◆ HandleViewMessage()

void xiiRemoteEngineProcessViewContext::HandleViewMessage ( const xiiEditorEngineViewMsg * pMsg)
overrideprotectedvirtual

Reimplemented from xiiEngineProcessViewContext.


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