Plasma Engine  2.0
Loading...
Searching...
No Matches
plEngineProcessViewContext Class Referenceabstract

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

#include <EngineProcessViewContext.h>

Inheritance diagram for plEngineProcessViewContext:

Public Member Functions

 plEngineProcessViewContext (plEngineProcessDocumentContext *pContext)
 
void SetViewID (plUInt32 uiId)
 
plEngineProcessDocumentContextGetDocumentContext () const
 
virtual void HandleViewMessage (const plEditorEngineViewMsg *pMsg)
 
virtual void SetupRenderTarget (plGALSwapChainHandle hSwapChain, const plGALRenderTargets *pRenderTargets, plUInt16 uiWidth, plUInt16 uiHeight)
 
virtual void Redraw (bool bRenderEditorGizmos)
 
plViewHandle GetViewHandle () const
 
void DrawSimpleGrid () const
 

Static Public Member Functions

static bool FocusCameraOnObject (plCamera &inout_camera, const plBoundingBoxSphere &objectBounds, float fFov, const plVec3 &vViewDir)
 Focuses camera on the given object.
 

Protected Member Functions

void SendViewMessage (plEditorEngineViewMsg *pViewMsg)
 
void HandleWindowUpdate (plWindowHandle hWnd, plUInt16 uiWidth, plUInt16 uiHeight)
 
void OnSwapChainChanged (plGALSwapChainHandle hSwapChain, plSizeU32 size)
 
virtual void SetCamera (const plViewRedrawMsgToEngine *pMsg)
 
virtual plRenderPipelineResourceHandle CreateDefaultRenderPipeline ()
 Returns the handle to the default render pipeline.
 
virtual plRenderPipelineResourceHandle CreateDebugRenderPipeline ()
 Returns the handle to the debug render pipeline.
 
virtual plViewHandle CreateView ()=0
 Create the actual view.
 

Protected Attributes

plCamera m_Camera
 
plViewHandle m_hView
 
plUInt32 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: