![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Streaming/StreamingManagerTexture.h"#include "Engine/Level.h"#include "Engine/World.h"#include "Engine/StaticMesh.h"#include "Engine/SkeletalMesh.h"#include "Engine/Texture2D.h"#include "Engine/VolumeTexture.h"#include "Engine/Texture2DArray.h"#include "Materials/MaterialInterface.h"#include "Misc/ConfigCacheIni.h"#include "Misc/StringBuilder.h"#include "RenderedTextureStats.h"#include "UObject/UObjectIterator.h"#include "DeviceProfiles/DeviceProfile.h"#include "DeviceProfiles/DeviceProfileManager.h"#include "ProfilingDebugging/CsvProfiler.h"#include "RenderAssetUpdate.h"#include "RenderingThread.h"#include "Streaming/AsyncTextureStreaming.h"#include "Components/PrimitiveComponent.h"#include "Misc/CoreDelegates.h"#include "TextureResource.h"#include "HAL/LowLevelMemStats.h"#include "ProfilingDebugging/MetadataTrace.h"#include "Streaming/SimpleStreamableAssetManager.h"#include "SceneInterface.h"#include "Engine/Engine.h"#include "Async/ParallelFor.h"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) |
| #define UE_STREAMINGRENDERASSETS_ARRAY_DEFAULT_RESERVED_SIZE 20000 |
| FORCEINLINE float ClampMeshToCameraDistanceSquared | ( | float | MeshToCameraDistanceSquared | ) |
Helper function to clamp the mesh to camera distance
| CSV_DECLARE_CATEGORY_MODULE_EXTERN | ( | CORE_API | , |
| Basic | |||
| ) |
| CSV_DEFINE_CATEGORY | ( | TextureStreaming | , |
| true | |||
| ) |
| void ListTrackedRenderAssets | ( | FOutputDevice & | Ar, |
| int32 | NumAssets | ||
| ) |
Lists all currently tracked texture/mesh names in the specified log.
| Ar | Desired output log |
| NumAssets | Maximum number of tracked texture/mesh names to output. Outputs all if NumAssets <= 0. |
| FORCEINLINE float SqrtKeepMax | ( | float | V | ) |
| bool TrackRenderAsset | ( | const FString & | AssetName | ) |
Adds a (partial) texture/mesh name to track in the streaming system and updates the .ini setting.
| AssetName | Partial name of a new texture/mesh to track (not case-sensitive) |
| 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.
| AssetName | Name of a texture/mesh to stop tracking (not case-sensitive) |