Plasma Engine  2.0
Loading...
Searching...
No Matches
BakeSceneWorkerOp.h
1#pragma once
2
3#include <EditorEngineProcessFramework/LongOps/LongOps.h>
4
5class plBakingScene;
6
8{
9 PL_ADD_DYNAMIC_REFLECTION(plLongOpWorker_BakeScene, plLongOpWorker);
10
11public:
12 virtual plResult InitializeExecution(plStreamReader& ref_config, const plUuid& documentGuid) override;
13 virtual plResult Execute(plProgress& ref_progress, plStreamWriter& ref_proxydata) override;
14
15 plString m_sOutputPath;
16 plBakingScene* m_pScene;
17};
Definition BakingScene.h:17
Definition BakeSceneWorkerOp.h:8
virtual plResult Execute(plProgress &ref_progress, plStreamWriter &ref_proxydata) override
Executed in a separete thread after InitializeExecution(). This should do the work that takes a while...
virtual plResult InitializeExecution(plStreamReader &ref_config, const plUuid &documentGuid) override
Called within the engine processes main thread. The function may lock the plWorld from the given scen...
Worker long ops are executed by the editor engine process.
Definition LongOps.h:52
Manages the way a progress bar is subdivided and advanced.
Definition Progress.h:36
Interface for binary in (read) streams.
Definition Stream.h:22
Interface for binary out (write) streams.
Definition Stream.h:107
This data type is the abstraction for 128-bit Uuid (also known as GUID) instances.
Definition Uuid.h:11
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54