FStreamingManagerCollection

Streaming manager collection, routing function calls to streaming managers that have been added via AddStreamingManager.

Windows
MacOS
Linux

Inheritance Hierarchy

IStreamingManager

FStreamingManagerCollection

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ContentStreaming.h

Include

#include "ContentStreaming.h"

Syntax

struct FStreamingManagerCollection : public IStreamingManager

Remarks

Streaming manager collection, routing function calls to streaming managers that have been added via AddStreamingManager.

Variables

Name Description

Protected variable

IAnimationStrea...

 

AnimationStreamingManager

The animation streaming manager, should always exist

Protected variable

IAudioStreaming...

 

AudioStreamingManager

The audio streaming manager, should always exist

Protected variable

FCriticalSectio...

 

AudioStreamingManagerCriticalSection

Locks out any audio streaming manager call when we are re-initializing the audio streaming manager.

Protected variable

int32

 

DisableResourceStreamingCount

Count of how many nested DisableResourceStreaming's were called - will enable when this is 0

Protected variable

float

 

LoadMapTimeLimit

Maximum number of seconds to block in StreamAllResources(), by default (.ini setting).

Protected variable

int32

 

NumIterations

Number of iterations to perform. Gets reset to 1 each frame.

Protected variable

TArray< IStream...

 

StreamingManagers

Array of streaming managers to route function calls to

Protected variable

FRenderAssetStr...

 

TextureStreamingManager

The currently added texture streaming manager. Can be NULL

Protected variable

FVirtualTexture...

 

VirtualTextureStreamingManager

The virtual texture streaming manager, should always exist

Constructors

Name Description

Public function

FStreamingManagerCollection()

Default constructor, initializing all member variables.

Destructors

Functions

Name Description

Protected function Virtual

void

 

AddOrRemoveTextureStreamingManagerIfNeeded

(
    bool bIsInit
)

Public function

void

 

AddStreamingManager

(
    IStreamingManager* StreamingMa...
)

Adds a streaming manager to the array of managers to route function calls to.

Public function

void

 

DisableResourceStreaming()

Disables resource streaming.

Public function

void

 

EnableResourceStreaming()

Enables resource streaming, previously disabled with enableResourceStreaming.

Public function Const

IAnimationSt...

 

GetAnimationStreamingManager()

Gets a reference to the Animation Streaming Manager interface

Public function Const

IAudioStream...

 

GetAudioStreamingManager()

Gets a reference to the Audio Streaming Manager interface

Public function Const

IRenderAsset...

 

GetRenderAssetStreamingManager()

Get the streaming manager for textures and meshes

Public function Const

IRenderAsset...

 

GetTextureStreamingManager()

Gets a reference to the Texture Streaming Manager interface

Public function Const

FVirtualText...

 

GetVirtualTextureStreamingManager()

Gets a reference to the Virtual Texture Streaming Manager

Public function Const

bool

 

IsMeshStreamingEnabled()

Checks whether mesh streaming is enabled

Public function Virtual Const

bool

 

IsRenderAssetStreamingEnabled()

Checks whether texture/mesh streaming is enabled

Public function Const

bool

 

IsStreamingEnabled()

Checks whether any kind of streaming is active

Public function Const

bool

 

IsTextureStreamingEnabled()

Checks whether texture streaming is enabled

Public function

void

 

RemoveStreamingManager

(
    IStreamingManager* StreamingMa...
)

Removes a streaming manager from the array of managers to route function calls to.

Public function

void

 

SetNumIterationsForNextFrame

(
    int32 NumIterations
)

Sets the number of iterations to use for the next time UpdateResourceStreaming is being called.

Overridden from IStreamingManager

Name Description

Public function Virtual

void

 

AddLevel

(
    ULevel* Level
)

Adds a ULevel to the streaming manager.

Public function Virtual

int32

 

BlockTillAllRequestsFinished

(
    float TimeLimit,
    bool bLogResults
)

Blocks till all pending requests are fulfilled.

Public function Virtual

void

 

CancelForcedResources()

Cancels the timed Forced resources (i.e used the Kismet action "Stream In Textures").

Public function Virtual

bool

 

Exec

(
    UWorld* InWorld,
    const TCHAR* Cmd,
    FOutputDevice& Ar
)

Allows the streaming manager to process exec commands.

Public function Virtual Const

int32

 

GetNumWantingResources()

Returns the number of resources that currently wants to be streamed in.

Public function Virtual Const

int32

 

GetNumWantingResourcesID()

Returns the current ID for GetNumWantingResources().

Public function Virtual

void

 

NotifyActorDestroyed

(
    AActor* Actor
)

Called when a spawned actor is destroyed.

Public function Virtual

void

 

NotifyLevelChange()

Notifies manager of "level" change.

Notifies managers of "level" change.

Public function Virtual

void

 

NotifyLevelOffset

(
    ULevel* Level,
    const FVector& Offset
)

Notifies manager that level primitives were shifted.

Public function Virtual

void

 

NotifyPrimitiveDetached

(
    const UPrimitiveComponent* Pri...
)

Called when a primitive is detached from an actor or another component.

Public function Virtual

void

 

NotifyPrimitiveUpdated

(
    const UPrimitiveComponent* Pri...
)

Called when a primitive streaming data needs to be updated.

Public function Virtual

void

 

NotifyPrimitiveUpdated_Concurrent

(
    const UPrimitiveComponent* Pri...
)

Called when a primitive streaming data needs to be updated in the last stage of the frame.

Public function Virtual

void

 

OnAudioStreamingParamsChanged()

Public function Virtual

void

 

PropagateLightingScenarioChange()

Propagates a change to the active lighting scenario.

Public function Virtual

void

 

RemoveLevel

(
    ULevel* Level
)

Removes a ULevel from the streaming manager.

Public function Virtual

void

 

SetDisregardWorldResourcesForFrames

(
    int32 NumFrames
)

Don't stream world resources for the next NumFrames.

Public function Virtual

int32

 

StreamAllResources

(
    float TimeLimit
)

Streams in/out all resources that wants to and blocks until it's done.

Public function Virtual

void

 

Tick

(
    float DeltaTime,
    bool bProcessEverything
)

Calls UpdateResourceStreaming(), and does per-frame cleaning.

Public function Virtual

void

 

UpdateResourceStreaming

(
    float DeltaTime,
    bool bProcessEverything
)

Updates streaming, taking into account all current view infos.

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