XII Release 0.1.0
Loading...
Searching...
No Matches
xiiEngineProcessViewContext Class Referenceabstract

Represents the view/window on the engine process side, holds all data necessary for rendering. More...

#include <EngineProcessViewContext.h>

Inheritance diagram for xiiEngineProcessViewContext:
[legend]

Public Member Functions

 xiiEngineProcessViewContext (xiiEngineProcessDocumentContext *pContext)
 
void SetViewID (xiiUInt32 uiId)
 
xiiEngineProcessDocumentContextGetDocumentContext () const
 
virtual void HandleViewMessage (const xiiEditorEngineViewMsg *pMsg)
 
virtual void SetupRenderTarget (xiiSharedPtr< xiiGALSwapChain > pSwapChain, const xiiRenderTargets *pRenderTargets, xiiUInt16 uiWidth, xiiUInt16 uiHeight)
 
virtual void Redraw (bool bRenderEditorGizmos)
 
xiiViewHandle GetViewHandle () const
 
void DrawSimpleGrid () const
 

Static Public Member Functions

static bool FocusCameraOnObject (xiiCamera &inout_camera, const xiiBoundingBoxSphere &objectBounds, float fFov, const xiiVec3 &vViewDir)
 Focuses camera on the given object.
 

Protected Member Functions

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.
 
virtual xiiViewHandle CreateView ()=0
 Create the actual view.
 

Protected Attributes

xiiCamera m_Camera
 
xiiViewHandle m_hView
 
xiiUInt32 m_uiViewID
 

Detailed Description

Represents the view/window on the engine process side, holds all data necessary for rendering.

Member Function Documentation

◆ CreateView()


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