Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IRenderAssetStreamingManager
Description
Try to register an asset as protected from stream-out. Succeeds only if the asset currently has no pending streaming operation. While registered, the streaming manager will not initiate a StreamOut on this asset. StreamIn is NOT gated.
Caller must call UnregisterStreamOutProtectedAsset(), the streaming manager also drops any registration when the asset is removed from streaming (BeginDestroy path).
| Name | TryRegisterStreamOutProtectedAsset |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ContentStreaming.h |
| Include Path | #include "ContentStreaming.h" |
bool TryRegisterStreamOutProtectedAsset
(
UStreamableRenderAsset * Asset
)