ezEngine  Release 25.03
ezLongOpProxy_BakeScene Class Reference
Inheritance diagram for ezLongOpProxy_BakeScene:

Public Member Functions

virtual void InitializeRegistered (const ezUuid &documentGuid, const ezUuid &componentGuid) override
 Called once by ezLongOpControllerManager::RegisterLongOp() to inform the proxy to which ezDocument and component (ezDocumentObject) it is linked.
 
virtual const char * GetDisplayName () const override
 Called by the ezQtLongOpsPanel to determine the display string to be shown in the UI.
 
virtual void GetReplicationInfo (ezStringBuilder &out_sReplicationOpType, ezStreamWriter &ref_description) override
 Called every time the long op shall be executed. More...
 
virtual void Finalize (ezResult result, const ezDataBuffer &resultData) override
 Called once the corresponding ezLongOpWorker has finished. More...
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const ezRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
EZ_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Additional Inherited Members

- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 

Member Function Documentation

◆ Finalize()

void ezLongOpProxy_BakeScene::Finalize ( ezResult  result,
const ezDataBuffer resultData 
)
overridevirtual

Called once the corresponding ezLongOpWorker has finished.

Parameters
resultWhether the operation succeeded or failed (e.g. via user cancellation).
resultDataOptional data written by ezLongOpWorker::Execute().

Reimplemented from ezLongOpProxy.

◆ GetReplicationInfo()

void ezLongOpProxy_BakeScene::GetReplicationInfo ( ezStringBuilder out_sReplicationOpType,
ezStreamWriter inout_config 
)
overridevirtual

Called every time the long op shall be executed.

Parameters
out_sReplicationOpTypemust name the ezLongOpWorker that shall be executed in the engine process.
configcan be optionally written to. The data is transmitted to the ezLongOpWorker on the other side and fed to it in ezLongOpWorker::InitializeExecution().

Implements ezLongOpProxy.


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