Plasma Engine  2.0
Loading...
Searching...
No Matches
plSceneViewContext Class Reference
Inheritance diagram for plSceneViewContext:

Public Member Functions

 plSceneViewContext (plSceneContext *pSceneContext)
 
virtual void HandleViewMessage (const plEditorEngineViewMsg *pMsg) override
 
virtual void SetupRenderTarget (plGALSwapChainHandle hSwapChain, const plGALRenderTargets *pRenderTargets, plUInt16 uiWidth, plUInt16 uiHeight) override
 
bool UpdateThumbnailCamera (const plBoundingBoxSphere &bounds)
 
void SetInvisibleLayerTags (const plArrayPtr< plTag > removeTags, const plArrayPtr< plTag > addTags)
 
- Public Member Functions inherited from plEngineProcessViewContext
 plEngineProcessViewContext (plEngineProcessDocumentContext *pContext)
 
void SetViewID (plUInt32 uiId)
 
plEngineProcessDocumentContextGetDocumentContext () const
 
plViewHandle GetViewHandle () const
 
void DrawSimpleGrid () const
 

Protected Member Functions

virtual void Redraw (bool bRenderEditorGizmos) override
 
virtual void SetCamera (const plViewRedrawMsgToEngine *pMsg) override
 
virtual plViewHandle CreateView () override
 Create the actual view.
 
void PickObjectAt (plUInt16 x, plUInt16 y)
 
void MarqueePickObjects (const plViewMarqueePickingMsgToEngine *pMsg)
 
- Protected Member Functions inherited from plEngineProcessViewContext
void SendViewMessage (plEditorEngineViewMsg *pViewMsg)
 
void HandleWindowUpdate (plWindowHandle hWnd, plUInt16 uiWidth, plUInt16 uiHeight)
 
void OnSwapChainChanged (plGALSwapChainHandle hSwapChain, plSizeU32 size)
 
virtual plRenderPipelineResourceHandle CreateDefaultRenderPipeline ()
 Returns the handle to the default render pipeline.
 
virtual plRenderPipelineResourceHandle CreateDebugRenderPipeline ()
 Returns the handle to the debug render pipeline.
 

Additional Inherited Members

- Static Public Member Functions inherited from plEngineProcessViewContext
static bool FocusCameraOnObject (plCamera &inout_camera, const plBoundingBoxSphere &objectBounds, float fFov, const plVec3 &vViewDir)
 Focuses camera on the given object.
 
- Protected Attributes inherited from plEngineProcessViewContext
plCamera m_Camera
 
plViewHandle m_hView
 
plUInt32 m_uiViewID
 

Member Function Documentation

◆ CreateView()

plViewHandle plSceneViewContext::CreateView ( )
overrideprotectedvirtual

Create the actual view.

Implements plEngineProcessViewContext.

◆ HandleViewMessage()

void plSceneViewContext::HandleViewMessage ( const plEditorEngineViewMsg * pMsg)
overridevirtual

Reimplemented from plEngineProcessViewContext.

◆ Redraw()

void plSceneViewContext::Redraw ( bool bRenderEditorGizmos)
overrideprotectedvirtual

Reimplemented from plEngineProcessViewContext.

◆ SetCamera()

void plSceneViewContext::SetCamera ( const plViewRedrawMsgToEngine * pMsg)
overrideprotectedvirtual

Reimplemented from plEngineProcessViewContext.

◆ SetupRenderTarget()

void plSceneViewContext::SetupRenderTarget ( plGALSwapChainHandle hSwapChain,
const plGALRenderTargets * pRenderTargets,
plUInt16 uiWidth,
plUInt16 uiHeight )
overridevirtual

Reimplemented from plEngineProcessViewContext.


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