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

Public Member Functions

 xiiSceneViewContext (xiiSceneContext *pSceneContext)
 
virtual void HandleViewMessage (const xiiEditorEngineViewMsg *pMsg) override
 
virtual void SetupRenderTarget (xiiSharedPtr< xiiGALSwapChain > pSwapChain, const xiiRenderTargets *pRenderTargets, xiiUInt16 uiWidth, xiiUInt16 uiHeight) override
 
bool UpdateThumbnailCamera (const xiiBoundingBoxSphere &bounds)
 
void SetInvisibleLayerTags (const xiiArrayPtr< xiiTag > removeTags, const xiiArrayPtr< xiiTag > addTags)
 
- Public Member Functions inherited from xiiEngineProcessViewContext
 xiiEngineProcessViewContext (xiiEngineProcessDocumentContext *pContext)
 
void SetViewID (xiiUInt32 uiId)
 
xiiEngineProcessDocumentContextGetDocumentContext () const
 
xiiViewHandle GetViewHandle () const
 
void DrawSimpleGrid () const
 

Protected Member Functions

virtual void Redraw (bool bRenderEditorGizmos) override
 
virtual void SetCamera (const xiiViewRedrawMsgToEngine *pMsg) override
 
virtual xiiViewHandle CreateView () override
 Create the actual view.
 
void PickObjectAt (xiiUInt16 x, xiiUInt16 y)
 
void MarqueePickObjects (const xiiViewMarqueePickingMsgToEngine *pMsg)
 
- 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 xiiRenderPipelineResourceHandle CreateDefaultRenderPipeline ()
 Returns the handle to the default render pipeline.
 
virtual xiiRenderPipelineResourceHandle CreateDebugRenderPipeline ()
 Returns the handle to the debug render pipeline.
 

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 xiiSceneViewContext::CreateView ( )
overrideprotectedvirtual

Create the actual view.

Implements xiiEngineProcessViewContext.

◆ HandleViewMessage()

void xiiSceneViewContext::HandleViewMessage ( const xiiEditorEngineViewMsg * pMsg)
overridevirtual

Reimplemented from xiiEngineProcessViewContext.

◆ Redraw()

void xiiSceneViewContext::Redraw ( bool bRenderEditorGizmos)
overrideprotectedvirtual

Reimplemented from xiiEngineProcessViewContext.

◆ SetCamera()

void xiiSceneViewContext::SetCamera ( const xiiViewRedrawMsgToEngine * pMsg)
overrideprotectedvirtual

Reimplemented from xiiEngineProcessViewContext.

◆ SetupRenderTarget()

void xiiSceneViewContext::SetupRenderTarget ( xiiSharedPtr< xiiGALSwapChain > pSwapChain,
const xiiRenderTargets * pRenderTargets,
xiiUInt16 uiWidth,
xiiUInt16 uiHeight )
overridevirtual

Reimplemented from xiiEngineProcessViewContext.


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