ITextureStreamingManager

Interface to add functions specifically related to texture streaming

Windows
MacOS
Linux

Inheritance Hierarchy

IStreamingManager

ITextureStreamingManager

Syntax

struct ITextureStreamingManager : public IStreamingManager

Remarks

Interface to add functions specifically related to texture streaming

Functions

Name Description

Public function

void

 

AddStreamingTexture

(
    UTexture2D* Texture
)

Adds a new texture to the streaming manager.

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

 

PauseTextureStreaming

(
    bool bInShouldPause
)

Set current pause state for texture streaming

Public function

void

 

RemoveStreamingTexture

(
    UTexture2D* Texture
)

Removes a texture from the streaming manager.

Public function

void

 

ResetMaxEverRequired()

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

Public function

bool

 

StreamOutTextureData

(
    int64 RequiredMemorySize
)

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

Public function

void

 

UpdateIndividualTexture

(
    UTexture2D* Texture
)

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

References

Module

Engine

Header

Runtime/Engine/Public/ContentStreaming.h

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