IRenderAssetStreamingManager

Interface to add functions specifically related to texture/mesh streaming

Windows
MacOS
Linux

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

Name Description

Public function

void

 

AddStreamingRenderAsset

(
    USkeletalMesh* SkeletalMesh
)

Public function

void

 

AddStreamingRenderAsset

(
    UTexture2D* Texture
)

Adds a new texture/mesh to the streaming manager.

Public function

void

 

AddStreamingRenderAsset

(
    UStaticMesh* StaticMesh
)

Public function

void

 

AddStreamingTexture

(
    UTexture2D* Texture
)

Public function

void

 

BoostTextures

(
    AActor* Actor,
    float BoostFactor
)

Temporarily boosts the streaming distance factor by the specified number.

Public function

void

 

FastForceFullyResident

(
    UStreamableRenderAsset* Render...
)

Stream in non-resident mips for an asset ASAP.

Public function

void

 

GetAssetComponents

(
    const UStreamableRenderAsset* ...,
    TArray< const UPrimitiveComponent&...,
    TFunction< bool...
)

Return all components referencing the asset

Public function Const

int64

 

GetMaxEverRequired()

Max required textures/meshes ever seen in bytes.

Public function Const

int64

 

GetMemoryOverBudget()

Public function

void

 

GetObjectReferenceBounds

(
    const UObject* RefObject,
    TArray< FBox >& AssetBoxes
)

Return all bounds related to the ref object

Public function Const

int64

 

GetPoolSize()

Pool size for streaming.

Public function

void

 

PauseRenderAssetStreaming

(
    bool bInShouldPause
)

Set current pause state for texture/mesh streaming

Public function

void

 

PauseTextureStreaming

(
    bool bInShouldPause
)

Public function

void

 

RemoveStreamingRenderAsset

(
    UStreamableRenderAsset* Render...
)

Removes a texture/mesh from the streaming manager.

Public function

void

 

RemoveStreamingTexture

(
    UTexture2D* Texture
)

Public function

void

 

ResetMaxEverRequired()

Resets the max ever required textures/meshes. For possibly when changing resolutions or screen pct.

Public function

bool

 

StreamOutRenderAssetData

(
    int64 RequiredMemorySize
)

Try to stream out texture/mesh mip-levels to free up more memory.

Public function

bool

 

StreamOutTextureData

(
    int64 RequiredMemorySize
)

Public function

void

 

UpdateIndividualRenderAsset

(
    UStreamableRenderAsset* Render...
)

Updates streaming for an individual texture/mesh, taking into account all view infos.

Public function

void

 

UpdateIndividualTexture

(
    UTexture2D* Texture
)

BEGIN: APIs for backward compatibility.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss