UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StreamingManagerTexture.cpp File Reference

Classes

class  FUpdateStreamingRenderAssetsTask
 

Namespaces

namespace  UE
 
namespace  UE::Private
 
namespace  UE::Private::RenderAssetStreamingManager
 

Macros

#define UE_STREAMINGRENDERASSETS_ARRAY_DEFAULT_RESERVED_SIZE   20000
 

Functions

 CSV_DECLARE_CATEGORY_MODULE_EXTERN (CORE_API, Basic)
 
 CSV_DEFINE_CATEGORY (TextureStreaming, true)
 
bool TrackRenderAsset (const FString &AssetName)
 
bool UntrackRenderAsset (const FString &AssetName)
 
void ListTrackedRenderAssets (FOutputDevice &Ar, int32 NumTextures)
 
FORCEINLINE float ClampMeshToCameraDistanceSquared (float MeshToCameraDistanceSquared)
 
FORCEINLINE float SqrtKeepMax (float V)
 

Macro Definition Documentation

◆ UE_STREAMINGRENDERASSETS_ARRAY_DEFAULT_RESERVED_SIZE

#define UE_STREAMINGRENDERASSETS_ARRAY_DEFAULT_RESERVED_SIZE   20000

Function Documentation

◆ ClampMeshToCameraDistanceSquared()

FORCEINLINE float ClampMeshToCameraDistanceSquared ( float  MeshToCameraDistanceSquared)

Helper function to clamp the mesh to camera distance

◆ CSV_DECLARE_CATEGORY_MODULE_EXTERN()

CSV_DECLARE_CATEGORY_MODULE_EXTERN ( CORE_API  ,
Basic   
)

◆ CSV_DEFINE_CATEGORY()

CSV_DEFINE_CATEGORY ( TextureStreaming  ,
true   
)

◆ ListTrackedRenderAssets()

void ListTrackedRenderAssets ( FOutputDevice Ar,
int32  NumAssets 
)

Lists all currently tracked texture/mesh names in the specified log.

Parameters
ArDesired output log
NumAssetsMaximum number of tracked texture/mesh names to output. Outputs all if NumAssets <= 0.

◆ SqrtKeepMax()

FORCEINLINE float SqrtKeepMax ( float  V)

◆ TrackRenderAsset()

bool TrackRenderAsset ( const FString &  AssetName)

Adds a (partial) texture/mesh name to track in the streaming system and updates the .ini setting.

Parameters
AssetNamePartial name of a new texture/mesh to track (not case-sensitive)
Returns
true if the name was added

◆ UntrackRenderAsset()

bool UntrackRenderAsset ( const FString &  AssetName)

Removes a texture/mesh name from being tracked in the streaming system and updates the .ini setting. The name must match an existing tracking name, but isn't case-sensitive.

Parameters
AssetNameName of a texture/mesh to stop tracking (not case-sensitive)
Returns
true if the name was removed