Navigation
API > API/Runtime > API/Runtime/Engine
Streaming manager collection, routing function calls to streaming managers that have been added via AddStreamingManager.
| Name | FStreamingManagerCollection |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/ContentStreaming.h |
| Include Path | #include "ContentStreaming.h" |
Syntax
struct FStreamingManagerCollection : public IStreamingManager
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStreamingManagerCollection() |
Default constructor, initializing all member variables. | ContentStreaming.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FStreamingManagerCollection() |
ContentStreaming.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddStreamingManager
(
IStreamingManager* StreamingManager |
Adds a streaming manager to the array of managers to route function calls to. | ContentStreaming.h | |
void DisableResourceStreaming () |
Disables resource streaming. | ContentStreaming.h | |
void EnableResourceStreaming () |
Enables resource streaming, previously disabled with enableResourceStreaming. | ContentStreaming.h | |
IAnimationStreamingManager & GetAnimationStreamingManager() |
Gets a reference to the Animation Streaming Manager interface | ContentStreaming.h | |
IAudioStreamingManager & GetAudioStreamingManager() |
Gets a reference to the Audio Streaming Manager interface | ContentStreaming.h | |
Nanite::FCoarseMeshStreamingManager * GetNaniteCoarseMeshStreamingManager() |
Gets a reference to the Nanite Coarse Mesh Streaming Manager | ContentStreaming.h | |
IRenderAssetStreamingManager & GetRenderAssetStreamingManager() |
Get the streaming manager for textures and meshes | ContentStreaming.h | |
IRenderAssetStreamingManager & GetTextureStreamingManager() |
Gets a reference to the Texture Streaming Manager interface | ContentStreaming.h | |
FVirtualTextureChunkStreamingManager & GetVirtualTextureStreamingManager() |
Gets a reference to the Virtual Texture Streaming Manager | ContentStreaming.h | |
bool IsRenderAssetStreamingEnabled
(
EStreamableRenderAssetType FilteredAssetType |
Checks whether texture/mesh streaming is enabled | ContentStreaming.h | |
bool IsStreamingEnabled() |
Checks whether any kind of streaming is active | ContentStreaming.h | |
bool IsTextureStreamingEnabled() |
Checks whether texture streaming is enabled. | ContentStreaming.h | |
void RemoveStreamingManager
(
IStreamingManager* StreamingManager |
Removes a streaming manager from the array of managers to route function calls to. | ContentStreaming.h | |
void SetNumIterationsForNextFrame
(
int32 NumIterations |
Sets the number of iterations to use for the next time UpdateResourceStreaming is being called. | ContentStreaming.h |
Overridden from IStreamingManager
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddLevel
(
ULevel* Level |
Adds a ULevel to the streaming manager. | ContentStreaming.h | |
virtual int32 BlockTillAllRequestsFinished
(
float TimeLimit, |
Blocks till all pending requests are fulfilled. | ContentStreaming.h | |
virtual void CancelForcedResources() |
Cancels the timed Forced resources (i.e used the Kismet action "Stream In Textures"). | ContentStreaming.h | |
virtual bool Exec
(
UWorld* InWorld, |
Allows the streaming manager to process exec commands. | ContentStreaming.h | |
virtual int32 GetNumWantingResources() |
Returns the number of resources that currently wants to be streamed in. | ContentStreaming.h | |
virtual int32 GetNumWantingResourcesID () |
Returns the current ID for GetNumWantingResources(). | ContentStreaming.h | |
virtual void NotifyActorDestroyed
(
AActor* Actor |
Called when a spawned actor is destroyed. | ContentStreaming.h | |
virtual void NotifyLevelChange() |
Notifies manager of "level" change.Notifies managers of "level" change. | ContentStreaming.h | |
virtual void NotifyLevelOffset
(
ULevel* Level, |
Notifies manager that level primitives were shifted. | ContentStreaming.h | |
virtual void NotifyPrimitiveDetached
(
const UPrimitiveComponent* Primitive |
Called when a primitive is detached from an actor or another component. | ContentStreaming.h | |
virtual void NotifyPrimitiveUpdated
(
const UPrimitiveComponent* Primitive |
Called when a primitive streaming data needs to be updated. | ContentStreaming.h | |
virtual void NotifyPrimitiveUpdated_Concurrent
(
const UPrimitiveComponent* Primitive |
Called when a primitive streaming data needs to be updated in the last stage of the frame. | ContentStreaming.h | |
virtual void OnAudioStreamingParamsChanged() |
ContentStreaming.h | ||
virtual void PropagateLightingScenarioChange() |
Propagates a change to the active lighting scenario. | ContentStreaming.h | |
virtual void RemoveLevel
(
ULevel* Level |
Removes a ULevel from the streaming manager. | ContentStreaming.h | |
virtual void SetDisregardWorldResourcesForFrames
(
int32 NumFrames |
Don't stream world resources for the next NumFrames. | ContentStreaming.h | |
virtual int32 StreamAllResources
(
float TimeLimit |
Streams in/out all resources that wants to and blocks until it's done. | ContentStreaming.h | |
virtual void Tick
(
float DeltaTime, |
Calls UpdateResourceStreaming(), and does per-frame cleaning. Call once per frame. | ContentStreaming.h | |
virtual void UpdateResourceStreaming
(
float DeltaTime, |
Updates streaming, taking into account all current view infos. | ContentStreaming.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddOrRemoveTextureStreamingManagerIfNeeded
(
bool bIsInit |
ContentStreaming.h |