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 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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback