![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DynamicTextureInstanceManager.h>
Inheritance diagram for FDynamicRenderAssetInstanceManager:Public Types | |
| using | FOnSyncDoneDelegate = TFunction< void(const FRemovedRenderAssetArray &)> |
Protected Member Functions | |
| void | Refresh (float Percentage) final override |
| void | OnCreateViewDone (FRenderAssetInstanceView *InView) |
| void | OnRefreshVisibilityDone (int32 BeginIndex, int32 EndIndex, const TArray< int32 > &SkippedIndices, int32 FirstFreeBound, int32 LastUsedBound) |
A texture/mesh instance manager to manage dynamic components. The async view generated is duplicated so that the state can change freely.
| using FDynamicRenderAssetInstanceManager::FOnSyncDoneDelegate = TFunction<void (const FRemovedRenderAssetArray&)> |
| FDynamicRenderAssetInstanceManager::FDynamicRenderAssetInstanceManager | ( | FOnSyncDoneDelegate && | InOnSyncDoneDelegate | ) |
Contructor.
| FDynamicRenderAssetInstanceManager::~FDynamicRenderAssetInstanceManager | ( | ) |
|
finaloverridevirtual |
Add a component streaming data, the LevelContext gives support for precompiled data.
Implements IRenderAssetInstanceManager.
|
finaloverridevirtual |
Return whether this component is be managed by this manager.
Implements IRenderAssetInstanceManager.
|
finaloverridevirtual |
Return the size taken for sub-allocation.
Implements IRenderAssetInstanceManager.
|
finaloverridevirtual |
Return a view of the data that has to be 100% thread safe. The content is allowed to be updated, but not memory must be reallocated.
Implements IRenderAssetInstanceManager.
| const FRenderAssetInstanceView * FDynamicRenderAssetInstanceManager::GetGameThreadView | ( | ) |
| void FDynamicRenderAssetInstanceManager::GetReferencedComponents | ( | TArray< const UPrimitiveComponent * > & | Components | ) |
| void FDynamicRenderAssetInstanceManager::IncrementalUpdate | ( | FRemovedRenderAssetArray & | RemovedRenderAssets, |
| float | Percentage | ||
| ) |
|
finalvirtual |
Return whether this component can be managed by this manager.
Implements IRenderAssetInstanceManager.
|
protected |
| void FDynamicRenderAssetInstanceManager::OnPreGarbageCollect | ( | FRemovedRenderAssetArray & | RemovedRenderAssets | ) |
Remove all pending components that are marked for delete. This prevents searching in the pending list for each entry.
|
protected |
|
finaloverridevirtual |
Notify the manager that an async view will be requested on the next frame.
Implements IRenderAssetInstanceManager.
Refresh component data (bounds, last render time, min and max view distance) - see TextureInstanceView.
Implements IRenderAssetInstanceManager.
| void FDynamicRenderAssetInstanceManager::RegisterTasks | ( | RenderAssetInstanceTask::FDoWorkTask & | AsyncTask | ) |
|
finaloverridevirtual |
Remove a component, the RemovedRenderAssets is the list of textures or meshes not referred anymore.
Implements IRenderAssetInstanceManager.