![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <StaticTextureInstanceManager.h>
Inheritance diagram for FStaticRenderAssetInstanceManager:Protected Member Functions | |
| void | OnRefreshVisibilityDone (int32 InBeginIndex, int32 InEndIndex) |
A texture/mesh instance manager to manage fully static components. Once an async view has been requested, nothing can be changed as the async view and the internal state point to the same data. This allows for quicker refreshes and also prevent state duplication.
| FStaticRenderAssetInstanceManager::FStaticRenderAssetInstanceManager | ( | RenderAssetInstanceTask::FDoWorkTask & | AsyncTask | ) |
Contructor.
|
inline |
| EAddComponentResult FStaticRenderAssetInstanceManager::Add | ( | const TArray< FRenderAssetInstanceState::FPreAddComponentPayload > & | Payloads, |
| TFunctionRef< void(const FRenderAssetInstanceState::FPreAddComponentPayload &, EAddComponentResult)> | OnAddFailedFunc | ||
| ) |
Add a batch of components streaming data.
|
finaloverridevirtual |
Add a component streaming data, the LevelContext gives support for precompiled data.
Implements IRenderAssetInstanceManager.
| bool FStaticRenderAssetInstanceManager::CanAddComponent | ( | ) | const |
Returns whether we can add components to the manager.
|
finaloverridevirtual |
Return whether this component is be managed by this manager.
Implements IRenderAssetInstanceManager.
|
inline |
|
inline |
|
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.
|
inline |
Return whether this component can be managed by this manager.
|
inline |
|
inline |
|
inlinefinaloverridevirtual |
Return whether this component can be managed by this manager.
Implements IRenderAssetInstanceManager.
| void FStaticRenderAssetInstanceManager::NormalizeLightmapTexelFactor | ( | ) |
Normalize lightmap texel factors, this is ran on an async tasks.
Apply specified offset to all cached primitives bounds
|
protected |
|
inlinefinaloverridevirtual |
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 RenderAssetInstanceView.
Implements IRenderAssetInstanceManager.
|
finaloverridevirtual |
Remove a component, the RemoveTextures is the list of textures not referred anymore.
Implements IRenderAssetInstanceManager.