UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IRenderAssetInstanceManager Class Referenceabstract

#include <TextureInstanceManager.h>

+ Inheritance diagram for IRenderAssetInstanceManager:

Public Member Functions

virtual ~IRenderAssetInstanceManager ()
 
virtual bool IsReferenced (const UPrimitiveComponent *Component) const =0
 
virtual bool CanManage (const UPrimitiveComponent *Component) const =0
 
virtual void Refresh (float Percentage)=0
 
virtual EAddComponentResult Add (const UPrimitiveComponent *Component, FStreamingTextureLevelContext &LevelContext, float MaxAllowedUIDensity)=0
 
virtual void Remove (const UPrimitiveComponent *Component, FRemovedRenderAssetArray *RemovedTextures)=0
 
virtual void PrepareAsyncView ()=0
 
virtual const FRenderAssetInstanceViewGetAsyncView (bool bCreateIfNull)=0
 
virtual uint32 GetAllocatedSize () const =0
 

Detailed Description

An interface to manage the TextureInstanceState from a group of components with similar properties, allowing to add/remove components incrementally and update their content.

Constructor & Destructor Documentation

◆ ~IRenderAssetInstanceManager()

virtual IRenderAssetInstanceManager::~IRenderAssetInstanceManager ( )
inlinevirtual

Member Function Documentation

◆ Add()

virtual EAddComponentResult IRenderAssetInstanceManager::Add ( const UPrimitiveComponent *  Component,
FStreamingTextureLevelContext LevelContext,
float  MaxAllowedUIDensity 
)
pure virtual

Add a component streaming data, the LevelContext gives support for precompiled data.

Implemented in FStaticRenderAssetInstanceManager, and FDynamicRenderAssetInstanceManager.

◆ CanManage()

virtual bool IRenderAssetInstanceManager::CanManage ( const UPrimitiveComponent *  Component) const
pure virtual

Return whether this component is be managed by this manager.

Implemented in FDynamicRenderAssetInstanceManager, and FStaticRenderAssetInstanceManager.

◆ GetAllocatedSize()

virtual uint32 IRenderAssetInstanceManager::GetAllocatedSize ( ) const
pure virtual

Return the size taken for sub-allocation.

Implemented in FDynamicRenderAssetInstanceManager, and FStaticRenderAssetInstanceManager.

◆ GetAsyncView()

virtual const FRenderAssetInstanceView * IRenderAssetInstanceManager::GetAsyncView ( bool  bCreateIfNull)
pure virtual

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.

Implemented in FDynamicRenderAssetInstanceManager, and FStaticRenderAssetInstanceManager.

◆ IsReferenced()

virtual bool IRenderAssetInstanceManager::IsReferenced ( const UPrimitiveComponent *  Component) const
pure virtual

Return whether the component is referenced.

Implemented in FDynamicRenderAssetInstanceManager, and FStaticRenderAssetInstanceManager.

◆ PrepareAsyncView()

virtual void IRenderAssetInstanceManager::PrepareAsyncView ( )
pure virtual

Notify the manager that an async view will be requested on the next frame.

Implemented in FDynamicRenderAssetInstanceManager, and FStaticRenderAssetInstanceManager.

◆ Refresh()

virtual void IRenderAssetInstanceManager::Refresh ( float  Percentage)
pure virtual

Refresh component data (bounds, last render time, min and max view distance) - see TextureInstanceView.

Implemented in FDynamicRenderAssetInstanceManager, and FStaticRenderAssetInstanceManager.

◆ Remove()

virtual void IRenderAssetInstanceManager::Remove ( const UPrimitiveComponent *  Component,
FRemovedRenderAssetArray RemovedTextures 
)
pure virtual

Remove a component, the RemoveTextures is the list of textures not referred anymore.

Implemented in FDynamicRenderAssetInstanceManager, and FStaticRenderAssetInstanceManager.


The documentation for this class was generated from the following file: