![]() |
Plasma Engine
2.0
|
Represents the view/window on the engine process side, holds all data necessary for rendering. More...
#include <EngineProcessViewContext.h>

Public Member Functions | |
| plEngineProcessViewContext (plEngineProcessDocumentContext *pContext) | |
| void | SetViewID (plUInt32 uiId) |
| plEngineProcessDocumentContext * | GetDocumentContext () 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 |
Represents the view/window on the engine process side, holds all data necessary for rendering.
|
protectedpure virtual |
Create the actual view.
Implemented in plAnimatedMeshViewContext, plAnimationClipViewContext, plDecalViewContext, plJoltCollisionMeshViewContext, plKrautTreeViewContext, plMaterialViewContext, plMeshViewContext, plParticleViewContext, plRemoteEngineProcessViewContext, plRmlUiViewContext, plSceneViewContext, plSkeletonViewContext, plTextureCubeViewContext, and plTextureViewContext.