Plasma Engine  2.0
Loading...
Searching...
No Matches
RenderPipelineContext.h
1#pragma once
2
3#include <EnginePluginAssets/EnginePluginAssetsDLL.h>
4
5#include <EditorEngineProcessFramework/EngineProcess/EngineProcessDocumentContext.h>
6
7class PL_ENGINEPLUGINASSETS_DLL plRenderPipelineContext : public plEngineProcessDocumentContext
8{
10
11public:
13
14 virtual void HandleMessage(const plEditorEngineDocumentMsg* pMsg) override;
15
16protected:
17 virtual void OnInitialize() override;
18
20 virtual void DestroyViewContext(plEngineProcessViewContext* pContext) override;
21
22 virtual plStatus ExportDocument(const plExportDocumentMsgToEngine* pMsg) override;
23};
Base class for all messages that are tied to some document.
Definition EngineProcessMessages.h:151
A document context is the counter part to an editor document on the engine side.
Definition EngineProcessDocumentContext.h:42
virtual plStatus ExportDocument(const plExportDocumentMsgToEngine *pMsg)
Exports to current document resource to file. Make sure to write plAssetFileHeader at the start of it...
Definition EngineProcessDocumentContext.cpp:506
virtual plEngineProcessViewContext * CreateViewContext()=0
Needs to be implemented to create a view context used for windows and thumbnails rendering.
virtual void DestroyViewContext(plEngineProcessViewContext *pContext)=0
Needs to be implemented to destroy the view context created in CreateViewContext.
Represents the view/window on the engine process side, holds all data necessary for rendering.
Definition EngineProcessViewContext.h:54
Definition EngineProcessMessages.h:307
Definition RenderPipelineContext.h:8
An plResult with an additional message for the reason of failure.
Definition Status.h:12