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

Public Member Functions

 xiiTextureCubeViewContext (xiiTextureCubeContext *pMaterialContext)
 Copyright (c) Theophilus Eriata. All Rights Reserved.
Public Member Functions inherited from xiiEngineProcessViewContext
 xiiEngineProcessViewContext (xiiEngineProcessDocumentContext *pContext)
 Copyright (c) Theophilus Eriata. All Rights Reserved.
void SetViewID (xiiUInt32 uiId)
xiiEngineProcessDocumentContext * GetDocumentContext () const
virtual void HandleViewMessage (const xiiEditorEngineViewMsg *pMsg)
virtual void SetupRenderTarget (xiiSharedPtr< xiiGALSwapChain > pSwapChain, xiiGALTextureView *pRenderTargetView, xiiUInt16 uiWidth, xiiUInt16 uiHeight)
virtual void Redraw (bool bRenderEditorGizmos)
virtual void SuspendRendering ()
 Consumes this frame's redraw request without discarding camera or pipeline state.
xiiRegisteredWindowHandle GetWindowHandle () const
xiiViewHandle GetViewHandle () const
void SetRenderPipelineProfile (const xiiPlatformProfile *profile)
void SetRenderPipelineResourceReference (xiiStringView resource)

Protected Member Functions

virtual xiiViewHandle CreateView () override
 Create the actual view.
virtual void SetCamera (const xiiViewRedrawMsgToEngine *pMsg) override
Protected Member Functions inherited from xiiEngineProcessViewContext
xiiView * GetView () const
xiiResult ResolveRenderPipeline (xiiRenderPipelineUsage::Enum usage, xiiRenderPipelineResourceHandle &out_pipeline)
void UpdateRenderPipeline (xiiView &view)
xiiResult DrawGrid (float fSpacing, const xiiTransform &transform=xiiTransform::MakeIdentity(), bool bGlobal=true)
 Submits reusable grid geometry to this view's regular debug-render passes.
xiiResult PickGizmoAtPixel (xiiUInt32 x, xiiUInt32 y, xiiViewPickingResultMsgToEditor &out_result) const
void SendViewMessage (xiiEditorEngineViewMsg *pViewMsg)
void HandleWindowUpdate (xiiWindowHandle hWnd, xiiUInt16 uiWidth, xiiUInt16 uiHeight)
void OnSwapChainChanged (xiiSharedPtr< xiiGALSwapChain > pSwapChain, xiiSizeU32 size)

Protected Attributes

xiiTextureCubeContext * m_pTextureContext
Protected Attributes inherited from xiiEngineProcessViewContext
xiiCamera m_Camera
xiiViewHandle m_hView
xiiUInt32 m_uiViewID
xiiRegisteredWindowHandle m_hEditorWindow

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.

Member Function Documentation

◆ CreateView()

xiiViewHandle xiiTextureCubeViewContext::CreateView ( )
overrideprotectedvirtual

Create the actual view.

Implements xiiEngineProcessViewContext.

◆ SetCamera()

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

Reimplemented from xiiEngineProcessViewContext.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/EditorPlugins/Assets/EnginePluginAssets/TextureCubeAsset/TextureCubeView.h
  • /home/runner/work/XII/XII/Source/EditorPlugins/Assets/EnginePluginAssets/TextureCubeAsset/TextureCubeView.cpp