Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/StreamableRenderAsset.h |
Include |
#include "Engine/StreamableRenderAsset.h" |
class UStreamableRenderAsset : public UObject
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bForceMiplevelsToBeResident |
Override whether to fully stream even if texture hasn't been rendered. |
|
uint8: 1 |
bGlobalForceMipLevelsToBeResident |
Global and serialized version of ForceMiplevelsToBeResident. |
|
uint8: 1 |
bHasStreamingUpdatePending |
Whether some mips might be streamed soon. |
|
uint8: 1 |
bIgnoreStreamingMipBias |
When forced fully resident, ignores the streaming mip bias used to accommodate memory constraints. |
|
uint8: 1 |
bUseCinematicMipLevels |
Whether to use the extra cinematic quality mip-levels, when we're forcing mip-levels to be resident. |
|
CachedCombinedLODBias |
Cached combined group and texture LOD bias to use. |
|
|
CachedSRRState |
Gamethread coherent state of the resource. |
|
|
double |
ForceMipLevelsToBeResidentTimestamp |
WorldSettings timestamp that tells the streamer to force all miplevels to be resident up until that time. |
|
MipChangeCallbacks |
||
|
uint8: 1 |
NeverStream |
|
|
NoRefStreamingLODBias |
||
|
NumCinematicMipLevels |
Number of mip-levels to use for cinematic quality. |
|
|
TRefCountPtr< c... |
PendingUpdate |
An update structure used to handle streaming strategy. |
|
StreamingIndex |
FStreamingRenderAsset index used by the texture streaming system. |
Name | Description | |
---|---|---|
|
UStreamableRenderAsset ( |
Name | Description | |
---|---|---|
|
~UStreamableRenderAsset() |
Destructor |
Name | Description | ||
---|---|---|---|
|
CalcCumulativeLODSize ( |
||
|
CancelPendingStreamingRequest() |
Tries to cancel a pending LOD change request. |
|
|
DoesMipDataExist ( |
||
|
GetCachedLODBias() |
Returns the cached combined LOD bias based on texture LOD group and LOD bias. |
|
|
GetCurrentNoRefStreamingLODBias() |
||
|
float |
GetLastRenderTimeForStreaming() |
Get the per-asset last render time. |
|
GetLODGroupForStreaming() |
Get an integer representation of the LOD group |
|
|
FIoFilenameH... |
GetMipIoFilenameHash ( |
|
|
const FPerQu... |
GetNoRefStreamingLODBias() |
|
|
EStreamableR... |
GetRenderAssetType() |
|
|
const FStrea... |
GetStreamableResourceState() |
Return the streaming state of the render resources. |
|
GetStreamingIndex() |
||
|
HasPendingInitOrStreaming ( |
Whether a stream in / out request is pending. |
|
|
HasPendingLODTransition() |
||
|
HasPendingRenderResourceInitialization() |
Also returns false if the render resource is non existent, to prevent stalling on an event that will never complete. |
|
|
InvalidateLastRenderTimeForStreaming() |
Invalidates per-asset last render time. |
|
|
IsFullyStreamedIn() |
Whether all miplevels of this texture have been fully streamed in, LOD settings permitting. |
|
|
IsPendingStreamingRequestLocked() |
Whether there is a pending update and it is locked within an update step. |
|
|
IsStreamable() |
Whether the current asset render resource is streamable from a gamethread timeline. |
|
|
LinkStreaming() |
Links texture to the texture streaming manager. |
|
|
RegisterMipLevelChangeCallback ( |
Register a callback to get notified when a certain mip or LOD is resident or evicted. |
|
|
RemoveAllMipLevelChangeCallbacks() |
Not thread safe and must be called on GT timeline but not necessarily on GT (e.g. ParallelFor called from GT). |
|
|
RemoveMipLevelChangeCallback ( |
Remove mip level change callbacks registered by a component. |
|
|
RenderResourceSupportsStreaming() |
Whether the current asset render resource is streamable from a gamethread timeline. |
|
|
SetForceMipLevelsToBeResident ( |
Tells the streaming system that it should force all mip-levels to be resident for a number of seconds. |
|
|
SetNoRefStreamingLODBias ( |
||
|
ShouldMipLevelsBeForcedResident() |
Returns whether miplevels should be forced resident. |
|
|
StreamIn |
Loads mips from disk to memory. Only usable if the asset is streamable. |
|
|
StreamOut ( |
Unload some mips from memory. Only usable if the asset is streamable. |
|
|
TickMipLevelChangeCallbacks ( |
Invoke registered mip level change callbacks. |
|
|
TickStreaming ( |
||
|
UnlinkStreaming() |
Unlinks texture from the texture streaming manager. |
|
|
WaitForPendingInitOrStreaming |
Wait for any pending operation (like InitResource and Streaming) to complete. |
|
|
WaitForStreaming |
Wait for any pending operation and make sure that the asset streamer has performed requested ops on this asset. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
IsReadyForFinishDestroy() |
Called to check if the object is ready for FinishDestroy. |
Name |
Description |
|
---|---|---|
|
FLODStreamingCallbackPayload |