UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAsyncRenderAssetStreamingData Class Reference

#include <AsyncTextureStreaming.h>

Public Member Functions

void Init (TArray< FStreamingViewInfo > InViewInfos, float InWorldTime, TArray< FLevelRenderAssetManager * > &LevelStaticInstanceManagers, FDynamicRenderAssetInstanceManager &DynamicComponentManager)
 
void Init (TArray< FStreamingViewInfo > InViewInfos, float InLastUpdateTime)
 
void ComputeViewInfoExtras (const FRenderAssetStreamingSettings &Settings)
 
void UpdateBoundSizes_Async (const FRenderAssetStreamingSettings &Settings)
 
void UpdatePerfectWantedMips_Async (FStreamingRenderAsset &StreamingRenderAsset, const FRenderAssetStreamingSettings &Settings, bool bOutputToLog=false) const
 
uint32 GetAllocatedSize () const
 
FORCEINLINE const FRenderAssetInstanceAsyncViewGetDynamicInstancesView () const
 
FORCEINLINE const TArray< FRenderAssetInstanceAsyncView > & GetStaticInstancesViews () const
 
FORCEINLINE const TArray< FStreamingViewInfo > & GetViewInfos () const
 
FORCEINLINE bool HasAnyView () const
 
void ReleaseViews ()
 
void OnTaskDone_Async ()
 

Detailed Description

Thread-safe helper struct for streaming information.

Member Function Documentation

◆ ComputeViewInfoExtras()

void FAsyncRenderAssetStreamingData::ComputeViewInfoExtras ( const FRenderAssetStreamingSettings Settings)

◆ GetAllocatedSize()

uint32 FAsyncRenderAssetStreamingData::GetAllocatedSize ( ) const
inline

◆ GetDynamicInstancesView()

FORCEINLINE const FRenderAssetInstanceAsyncView & FAsyncRenderAssetStreamingData::GetDynamicInstancesView ( ) const
inline

◆ GetStaticInstancesViews()

FORCEINLINE const TArray< FRenderAssetInstanceAsyncView > & FAsyncRenderAssetStreamingData::GetStaticInstancesViews ( ) const
inline

◆ GetViewInfos()

FORCEINLINE const TArray< FStreamingViewInfo > & FAsyncRenderAssetStreamingData::GetViewInfos ( ) const
inline

◆ HasAnyView()

FORCEINLINE bool FAsyncRenderAssetStreamingData::HasAnyView ( ) const
inline

◆ Init() [1/2]

void FAsyncRenderAssetStreamingData::Init ( TArray< FStreamingViewInfo InViewInfos,
float  InLastUpdateTime 
)

◆ Init() [2/2]

void FAsyncRenderAssetStreamingData::Init ( TArray< FStreamingViewInfo InViewInfos,
float  InWorldTime,
TArray< FLevelRenderAssetManager * > &  LevelStaticInstanceManagers,
FDynamicRenderAssetInstanceManager DynamicComponentManager 
)

Set the data but do as little as possible, called from the game thread.

◆ OnTaskDone_Async()

void FAsyncRenderAssetStreamingData::OnTaskDone_Async ( )
inline

◆ ReleaseViews()

void FAsyncRenderAssetStreamingData::ReleaseViews ( )
inline

◆ UpdateBoundSizes_Async()

void FAsyncRenderAssetStreamingData::UpdateBoundSizes_Async ( const FRenderAssetStreamingSettings Settings)

Update everything internally so to allow calls to CalcWantedMips

◆ UpdatePerfectWantedMips_Async()

void FAsyncRenderAssetStreamingData::UpdatePerfectWantedMips_Async ( FStreamingRenderAsset StreamingRenderAsset,
const FRenderAssetStreamingSettings Settings,
bool  bOutputToLog = false 
) const

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