Background asset processing is handled by this class. Creates ezEditorProcessor processes which are managed by the ezEditorProcessorProcess class.
More...
#include <AssetProcessor.h>
|
|
void | StartProcessor () |
| |
|
void | StopProcessor (bool bForce) |
| |
|
ProcessorState | GetProcessorState () const |
| | Returns whether the asset processor is running, stopped or stopping.
|
| |
|
ezUInt32 | GetProcessCount () const |
| | Returns how many ezEditorProcessor processes are managed by the ezAssetProcessor.
|
| |
| ezEditorProcessorState | GetProcessState (ezUInt32 uiProcessIndex) const |
| | Returns the state of one of the ezEditorProcessor processes.
|
| |
| void | RequestRestartProcess (ezUInt32 uiProcessIndex) |
| | Requests a restart of a crashed processor. This is safe to call from any thread. The restart will be handled by the worker thread.
|
| |
|
void | AddLogWriter (ezLoggingEvent::Handler handler) |
| |
|
void | RemoveLogWriter (ezLoggingEvent::Handler handler) |
| |
|
void | UpdateProcessStates () |
| |
|
|
class | ezEditorProcessorProcess |
| |
|
class | ezAssetProcessorThread |
| |
|
class | ezAssetCurator |
| |
Background asset processing is handled by this class. Creates ezEditorProcessor processes which are managed by the ezEditorProcessorProcess class.
◆ ProcessorState
| 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.
|
◆ GetProcessState()
Returns the state of one of the ezEditorProcessor processes.
- Parameters
-
| uiProcessIndex | The index of the process. Must be smaller than GetProcessCount. |
◆ RequestRestartProcess()
| void ezAssetProcessor::RequestRestartProcess |
( |
ezUInt32 |
uiProcessIndex | ) |
|
Requests a restart of a crashed processor. This is safe to call from any thread. The restart will be handled by the worker thread.
- Parameters
-
| uiProcessIndex | The index of the crashed process to restart. Must be smaller than GetProcessCount. |
The documentation for this class was generated from the following files:
- /home/runner/work/ezEngine/ezEngine/Code/Editor/EditorFramework/Assets/AssetProcessor.h
- /home/runner/work/ezEngine/ezEngine/Code/Editor/EditorFramework/Assets/Implementation/AssetProcessor.cpp