Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
Inheritance Hierarchy
- FGCObject
- FStreamableManager
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/StreamableManager.h |
Include | #include "Engine/StreamableManager.h" |
Syntax
struct FStreamableManager : public FGCObject
Remarks
A native class for managing streaming assets in and keeping them in memory. AssetManager is the global singleton version of this with blueprint access
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FStreamableManager
(
const FStreamableManager& |
Not safe to copy or duplicate |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Returns true if all pending async loads have finished for all targets | |
![]() |
TSharedPtr< FStreamableHandle > | CreateCombinedHandle
(
const TConstArrayView< TSharedPtr< FStreamableHandle > >& ChildHandles, |
Creates a combined handle, which will wait for other handles to complete before completing. |
![]() ![]() |
bool | GetActiveHandles
(
const FSoftObjectPath& Target, |
Gets list of handles that are directly referencing this asset, returns true if any found. |
![]() ![]() |
const FString & | Returns the debug name for this manager | |
![]() ![]() |
bool | IsAsyncLoadComplete
(
const FSoftObjectPath& Target |
Returns true if all pending async loads have finished for this target |
![]() |
T * | LoadSynchronous
(
const FSoftObjectPath& Target, |
Typed wrappers |
![]() |
UObject * | LoadSynchronous
(
const FSoftObjectPath& Target, |
Synchronously load the referred asset and return the loaded object, or nullptr if it can't be found. |
![]() |
TSubclassOf< T > | LoadSynchronous
(
const TSoftClassPtr< T >& Target, |
|
![]() |
T * | LoadSynchronous
(
const TSoftObjectPtr< T >& Target, |
|
![]() |
TSharedPtr< FStreamableHandle > | RequestAsyncLoad
(
PathContainerType&& TargetsToStream, |
This is the primary streamable operation. |
![]() |
TSharedPtr< FStreamableHandle > | RequestSyncLoad
(
PathContainerType&& TargetsToStream, |
Synchronously load a set of assets, and return a handle. |
![]() ![]() |
FSoftObjectPath | ResolveRedirects
(
const FSoftObjectPath& Target |
Checks for any redirectors that were previously loaded, and returns the redirected target if found. |
![]() |
void | SetManagerName
(
FString InName |
Modifies the debug name of this manager, used for debugging GC references |
![]() |
void | Unload
(
const FSoftObjectPath& Target |
This will release any managed active handles pointing to the target soft object path, even if they include other requested assets in the same load |
Overridden from FGCObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
Add referenced objects to stop them from GCing |
![]() ![]() ![]() |
FString | Overload this method to report a name for your referencer | |
![]() ![]() ![]() |
bool | GetReferencerPropertyName
(
UObject* Object, |
Overload this method to report how the specified object is referenced, if necessary |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FStreamableManager & | operator=
(
const FStreamableManager& |
Typedefs
Name | Description |
---|---|
TStreamableMap | Map of paths to streamable objects, this will be the post-redirector name |
TStreamableRedirects |
Constants
Name | Description |
---|---|
AsyncLoadHighPriority | Priority to try and load immediately. |
DefaultAsyncLoadPriority | Default priority for all async loads. |