Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/SparseVolumeTexture > API/Runtime/Engine/SparseVolumeTexture/USparseVolumeTextureFrame
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/SparseVolumeTexture/SparseVolumeTexture.h |
| Include | #include "SparseVolumeTexture/SparseVolumeTexture.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SparseVolumeTexture/SparseVolumeTexture.cpp |
static USparseVolumeTextureFrame &42; GetFrameAndIssueStreamingRequest
&40;
USparseVolumeTexture &42; SparseVolumeTexture,
float FrameIndex,
int32 MipLevel,
bool bBlocking
&41;
Remarks
Retrieves a frame from the given SparseVolumeTexture and also issues a streaming request for it. FrameIndex is of float type so that the streaming system can use the fractional part to more easily keep track of playback speed and direction (forward/reverse playback). MipLevel is the lowest mip level that the caller intends to use but does not guarantee that the mip is actually resident. If bBlocking is true, DDC streaming requests will block on completion, guaranteeing that the requested frame will have been streamed in after the next streaming system update. If streaming cooked data from disk, the highest priority will be used, but no guarantee is given.