Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/IStreamingManager_1
Description
Request a frame to be streamed in. StreamingInstanceKey can be any arbitrary value that is suitable to keep track of the source of requests for a given SVT. This key is used internally to associate incoming requests with prior requests issued for the same SVT. A good value to pass here might be a hash of the pointer of the component the SVT is used within. FrameRate is an optional argument which helps to more accurately predict the required bandwidth when using non-blocking requests. EStreamingRequestFlags::HasFrameRate must be set for this. FrameIndex is of float type so that the fractional part can be used to better track the playback speed/direction. This function automatically also requests all higher mip levels and adds prefetch requests for upcoming frames.
| Name | Request_GameThread |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/SparseVolumeTexture/ISparseVolumeTextureStreamingManager.h |
| Include Path | #include "SparseVolumeTexture/ISparseVolumeTextureStreamingManager.h" |
void Request_GameThread
(
UStreamableSparseVolumeTexture * SparseVolumeTexture,
uint32 StreamingInstanceKey,
float FrameRate,
float FrameIndex,
float MipLevel,
EStreamingRequestFlags Flags
)