ezEngine  Release 25.03
ezEngineProcessViewContext Class Referenceabstract

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

#include <EngineProcessViewContext.h>

Inheritance diagram for ezEngineProcessViewContext:

Public Member Functions

 ezEngineProcessViewContext (ezEngineProcessDocumentContext *pContext)
 
void SetViewID (ezUInt32 uiId)
 
ezEngineProcessDocumentContextGetDocumentContext () const
 
virtual void HandleViewMessage (const ezEditorEngineViewMsg *pMsg)
 
virtual void SetupRenderTarget (ezGALSwapChainHandle hSwapChain, const ezGALRenderTargets *pRenderTargets, ezUInt16 uiWidth, ezUInt16 uiHeight)
 
virtual void Redraw (bool bRenderEditorGizmos)
 
ezViewHandle GetViewHandle () const
 
void DrawSimpleGrid () const
 

Static Public Member Functions

static bool FocusCameraOnObject (ezCamera &inout_camera, const ezBoundingBoxSphere &objectBounds, float fFov, const ezVec3 &vViewDir)
 Focuses camera on the given object.
 

Protected Member Functions

void SendViewMessage (ezEditorEngineViewMsg *pViewMsg)
 
void HandleWindowUpdate (ezWindowHandle hWnd, ezUInt16 uiWidth, ezUInt16 uiHeight)
 
void OnSwapChainChanged (ezGALSwapChainHandle hSwapChain, ezSizeU32 size)
 
virtual void SetCamera (const ezViewRedrawMsgToEngine *pMsg)
 
virtual ezRenderPipelineResourceHandle CreateDefaultRenderPipeline ()
 Returns the handle to the default render pipeline.
 
virtual ezRenderPipelineResourceHandle CreateDebugRenderPipeline ()
 Returns the handle to the debug render pipeline.
 
virtual ezViewHandle CreateView ()=0
 Create the actual view.
 

Protected Attributes

ezCamera m_Camera
 
ezViewHandle m_hView
 
ezUInt32 m_uiViewID
 

Detailed Description

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


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