Navigation
API > API/Runtime > API/Runtime/Engine
Interface to add functions specifically related to texture/mesh streaming
| Name | IRenderAssetStreamingManager |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/ContentStreaming.h |
| Include Path | #include "ContentStreaming.h" |
Syntax
struct IRenderAssetStreamingManager : public IStreamingManager
Implements Interfaces
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ShouldChooseDefault | auto | ContentStreaming.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddRenderedTextureStats
(
TMap< FString, FRenderedTextureStats >& InOutRenderedTextureAssets |
ContentStreaming.h | ||
void AddStreamingRenderAsset
(
UStreamableRenderAsset* RenderAsset |
Adds a new texture/mesh to the streaming manager. | ContentStreaming.h | |
void AddStreamingTexture
(
UTexture2D* Texture |
ContentStreaming.h | ||
void BoostTextures
(
AActor* Actor, |
Temporarily boosts the streaming distance factor by the specified number. | ContentStreaming.h | |
bool FastForceFullyResident
(
UStreamableRenderAsset* RenderAsset |
Stream in non-resident mips for an asset ASAP. | ContentStreaming.h | |
void GetAssetComponents
(
const UStreamableRenderAsset* RenderAsset, |
Return all components referencing the asset | ContentStreaming.h | |
float GetCachedMips() |
Amount of memory cached in pool | ContentStreaming.h | |
int64 GetMaxEverRequired() |
Max required textures/meshes ever seen in bytes. | ContentStreaming.h | |
int64 GetMemoryOverBudget() |
ContentStreaming.h | ||
| Return all bounds related to the ref object | ContentStreaming.h | ||
int64 GetPoolSize() |
Pool size for streaming. | ContentStreaming.h | |
int64 GetRequiredPoolSize() |
Estimated memory in bytes the streamer would use if there was no limit | ContentStreaming.h | |
bool IsFullyStreamedIn
(
UStreamableRenderAsset* RenderAsset |
Check whether all runtime-allowed LODs have been loaded. | ContentStreaming.h | |
void MarkMountedStateDirty
(
FIoFilenameHash FilenameHash |
Notify the streamer that the mounted state of a file needs to be re-evaluated. | ContentStreaming.h | |
void OnRenderAssetUpdateAbandoned
(
UStreamableRenderAsset* OwningRenderAsset, |
ContentStreaming.h | ||
void PauseRenderAssetStreaming
(
bool bInShouldPause |
Set current pause state for texture/mesh streaming | ContentStreaming.h | |
void PauseTextureStreaming
(
bool bInShouldPause |
ContentStreaming.h | ||
void RemoveStreamingRenderAsset
(
UStreamableRenderAsset* RenderAsset |
Removes a texture/mesh from the streaming manager. | ContentStreaming.h | |
void RemoveStreamingTexture
(
UTexture2D* Texture |
ContentStreaming.h | ||
void ResetMaxEverRequired() |
Resets the max ever required textures/meshes. For possibly when changing resolutions or screen pct. | ContentStreaming.h | |
bool StreamOutRenderAssetData
(
int64 RequiredMemorySize |
Try to stream out texture/mesh mip-levels to free up more memory. | ContentStreaming.h | |
bool StreamOutTextureData
(
int64 RequiredMemorySize |
ContentStreaming.h | ||
void UpdateIndividualRenderAsset
(
UStreamableRenderAsset* RenderAsset |
Updates streaming for an individual texture/mesh, taking into account all view infos. | ContentStreaming.h | |
void UpdateIndividualTexture
(
UTexture2D* Texture |
BEGIN: APIs for backward compatibility. | ContentStreaming.h |