Navigation
API > API/Runtime > API/Runtime/Engine
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
| Type | Name | Description | |
|---|---|---|---|
| IAnimationStreamingManager * | AnimationStreamingManager | The animation streaming manager, should always exist | |
| IAudioStreamingManager * | AudioStreamingManager | The audio streaming manager, should always exist | |
| FCriticalSection | AudioStreamingManagerCriticalSection | Locks out any audio streaming manager call when we are re-initializing the audio streaming manager. | |
| int32 | DisableResourceStreamingCount | Count of how many nested DisableResourceStreaming's were called - will enable when this is 0 | |
| float | LoadMapTimeLimit | Maximum number of seconds to block in StreamAllResources(), by default (.ini setting). | |
| Nanite::FCoarseMeshStreamingManager * | NaniteCoarseMeshStreamingManager | The nanite coarse mesh streaming manager, should always exist | |
| int32 | NumIterations | Number of iterations to perform. Gets reset to 1 each frame. | |
| FRenderAssetStreamingManager * | RenderAssetStreamingManager | The currently added texture streaming manager. Can be NULL | |
| TArray< IStreamingManager * > | StreamingManagers | Array of streaming managers to route function calls to | |
| FVirtualTextureChunkStreamingManager * | VirtualTextureStreamingManager | The virtual texture streaming manager, should always exist |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor, initializing all member variables. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddOrRemoveTextureStreamingManagerIfNeeded
(
bool bIsInit |
||
| void | AddStreamingManager
(
IStreamingManager* StreamingManager |
Adds a streaming manager to the array of managers to route function calls to. | |
| void | Disables resource streaming. | ||
| void | Enables resource streaming, previously disabled with enableResourceStreaming. | ||
| IAnimationStreamingManager & | Gets a reference to the Animation Streaming Manager interface | ||
| IAudioStreamingManager & | Gets a reference to the Audio Streaming Manager interface | ||
| Nanite::FCoarseMeshStreamingManager * | Gets a reference to the Nanite Coarse Mesh Streaming Manager | ||
| IRenderAssetStreamingManager & | Get the streaming manager for textures and meshes | ||
| IRenderAssetStreamingManager & | Gets a reference to the Texture Streaming Manager interface | ||
| FVirtualTextureChunkStreamingManager & | Gets a reference to the Virtual Texture Streaming Manager | ||
| bool | IsRenderAssetStreamingEnabled
(
EStreamableRenderAssetType FilteredAssetType |
Checks whether texture/mesh streaming is enabled | |
| bool | Checks whether any kind of streaming is active | ||
| bool | Checks whether texture streaming is enabled. | ||
| void | RemoveStreamingManager
(
IStreamingManager* StreamingManager |
Removes a streaming manager from the array of managers to route function calls to. | |
| void | SetNumIterationsForNextFrame
(
int32 NumIterations |
Sets the number of iterations to use for the next time UpdateResourceStreaming is being called. |
Overridden from IStreamingManager
| Type | Name | Description | |
|---|---|---|---|
| void | Adds a ULevel to the streaming manager. | ||
| int32 | BlockTillAllRequestsFinished
(
float TimeLimit, |
Blocks till all pending requests are fulfilled. | |
| void | Cancels the timed Forced resources (i.e used the Kismet action "Stream In Textures"). | ||
| bool | Exec
(
UWorld* InWorld, |
Allows the streaming manager to process exec commands. | |
| int32 | Returns the number of resources that currently wants to be streamed in. | ||
| int32 | Returns the current ID for GetNumWantingResources(). | ||
| void | NotifyActorDestroyed
(
AActor* Actor |
Called when a spawned actor is destroyed. | |
| void | Notifies manager of "level" change.Notifies managers of "level" change. | ||
| void | NotifyLevelOffset
(
ULevel* Level, |
Notifies manager that level primitives were shifted. | |
| void | NotifyPrimitiveDetached
(
const UPrimitiveComponent* Primitive |
Called when a primitive is detached from an actor or another component. | |
| void | NotifyPrimitiveUpdated
(
const UPrimitiveComponent* Primitive |
Called when a primitive streaming data needs to be updated. | |
| void | NotifyPrimitiveUpdated_Concurrent
(
const UPrimitiveComponent* Primitive |
Called when a primitive streaming data needs to be updated in the last stage of the frame. | |
| void | |||
| void | Propagates a change to the active lighting scenario. | ||
| void | RemoveLevel
(
ULevel* Level |
Removes a ULevel from the streaming manager. | |
| void | SetDisregardWorldResourcesForFrames
(
int32 NumFrames |
Don't stream world resources for the next NumFrames. | |
| int32 | StreamAllResources
(
float TimeLimit |
Streams in/out all resources that wants to and blocks until it's done. | |
| void | Tick
(
float DeltaTime, |
Calls UpdateResourceStreaming(), and does per-frame cleaning. | |
| void | UpdateResourceStreaming
(
float DeltaTime, |
Updates streaming, taking into account all current view infos. |