Navigation
API > API/Runtime > API/Runtime/Engine
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.
| Name | TRenderAssetUpdate |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/RenderAssetUpdate.h |
| Include Path | #include "RenderAssetUpdate.h" |
Syntax
template<typename TContext>
class TRenderAssetUpdate : public FRenderAssetUpdate
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TRenderAssetUpdate
(
const UStreamableRenderAsset* InAsset |
RenderAssetUpdate.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FCallback | TFunction< void(const FContext &Context)> | A callback used to perform a task in the update process. | RenderAssetUpdate.h |
| FContext | TContext | RenderAssetUpdate.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void PushTask
(
const FContext& Context, |
Defines the next step to be executed. | RenderAssetUpdate.h |
Overridden from FRenderAssetUpdate
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EThreadType GetRelevantThread() |
Return the thread relevant to the next step of execution. | RenderAssetUpdate.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearCallbacks() |
RenderAssetUpdate.h |
Overridden from FRenderAssetUpdate
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ETaskState TickInternal
(
EThreadType InCurrentThread, |
RenderAssetUpdate.h |