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