Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- IRefCountedObject
- FRenderAssetUpdate
- TRenderAssetUpdate
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/RenderAssetUpdate.h |
| Include | #include "RenderAssetUpdate.h" |
Syntax
template<typename TContext>
class TRenderAssetUpdate : public FRenderAssetUpdate
Remarks
This class provides a framework for loading and unloading the texture/mesh LODs. Each thread essentially calls Tick() until the job is done. The object can be safely deleted when IsCompleted() returns true.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FCallback | CancelationCallback | The callback handling the cancellation of the update (only if the update gets cancelled). | |
| EThreadType | CancelationThread | The thread on which to call the cancellation of the update (only if the update gets cancelled). | |
| FCallback | TaskCallback | The callback that will perform the next step of the update. | |
| EThreadType | TaskThread | The thread on which to call the next step of the update, being TaskCallback. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TRenderAssetUpdate
(
const UStreamableRenderAsset* InAsset |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | PushTask
(
const FContext& Context, |
Defines the next step to be executed. |
Overridden from FRenderAssetUpdate
| Type | Name | Description | |
|---|---|---|---|
| EThreadType | Return the thread relevant to the next step of execution. | ||
| ETaskState | TickInternal
(
EThreadType InCurrentThread, |