Plasma Engine  2.0
Loading...
Searching...
No Matches
plAssetProcessor Class Reference

Background asset processing is handled by this class. Creates EditorProcessor processes. More...

#include <AssetProcessor.h>

Public Types

enum class  ProcessTaskState : plUInt8 { Stopped , Running , Stopping }
 

Public Member Functions

void StartProcessTask ()
 
void StopProcessTask (bool bForce)
 
ProcessTaskState GetProcessTaskState () const
 
void AddLogWriter (plLoggingEvent::Handler handler)
 
void RemoveLogWriter (plLoggingEvent::Handler handler)
 

Public Attributes

plEvent< const plAssetProcessorEvent & > m_Events
 

Friends

class plProcessTask
 
class plProcessThread
 
class plAssetCurator
 

Detailed Description

Background asset processing is handled by this class. Creates EditorProcessor processes.

Member Enumeration Documentation

◆ ProcessTaskState

enum class plAssetProcessor::ProcessTaskState : plUInt8
strong
Enumerator
Stopped 

No EditorProcessor or the process thread is running.

Running 

Everything is active.

Stopping 

Everything is still running but no new tasks are put into the EditorProcessors.


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