UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::FIoScatterGatherRequestParams Class Reference

#include <PlatformIoDispatcher.h>

Classes

struct  FScatterParams
 

Public Types

using FScatterParamsArray = TArray< FScatterParams, TInlineAllocator< 4 > >
 

Public Member Functions

 FIoScatterGatherRequestParams (FIoFileHandle InFileHandle, FIoBuffer &InDestination, uint64 InDestinationSize, void *InUserData, int32 InPriority)
 
void Scatter (uint64 BlockFileOffset, uint32 BlockIndex, uint32 BlockCompressedSize, uint32 BlockUncompresedSize, uint64 ScatterOffset, uint64 ScatterSize, uint64 DestinationOffset, FName CompressionMethod, FMemoryView EncryptionKey, FMemoryView BlockHash)
 

Public Attributes

FIoFileHandle FileHandle
 
FIoBufferDestination
 
uint64 DestinationSize
 
voidUserData
 
int32 Priority
 
FScatterParamsArray Params
 

Detailed Description

The scatter-gather parameters specifies the I/O store encoded block boundaries, whether the block is compressed and or encrypted, whether to check the block signature hash and from where in the uncompressed block to copy the block data to the destination buffer.

Member Typedef Documentation

◆ FScatterParamsArray

Constructor & Destructor Documentation

◆ FIoScatterGatherRequestParams()

UE::FIoScatterGatherRequestParams::FIoScatterGatherRequestParams ( FIoFileHandle  InFileHandle,
FIoBuffer InDestination,
uint64  InDestinationSize,
void InUserData,
int32  InPriority 
)
inline

Creates a new set of scatter-gather parameters.

Parameters
InFileHandleHandle to the file to read from.
InDestinationReference to the destination buffer.
InDestinationSizeSize in bytes of the destination buffer.
InUserDataOptional user data associated with the request.
InPriorityThe priority of the request.

Member Function Documentation

◆ Scatter()

void UE::FIoScatterGatherRequestParams::Scatter ( uint64  BlockFileOffset,
uint32  BlockIndex,
uint32  BlockCompressedSize,
uint32  BlockUncompresedSize,
uint64  ScatterOffset,
uint64  ScatterSize,
uint64  DestinationOffset,
FName  CompressionMethod,
FMemoryView  EncryptionKey,
FMemoryView  BlockHash 
)
inline

Add block scatter parameters.

Parameters
BlockFileOffsetOffset of the encoded block in the file.
BlockIndexIndex of the block in the TOC.
BlockCompressedSizeCompressed size of the block.
BlockUncompressedSizeUncompressed size of the block.
ScatterOffsetOffset in the uncompressed block from where to copy the data to the destination buffer.
ScatterSizeNumber of bytes to copy from the uncompressed block.
DestinationOffsetOffset in the destination buffer to copy the data from the uncompressed buffer.
CompressionMethodMethod used to compress the block data.
EncryptionKeyOptional memory view to the encryption key.
BlockHashOptional memory view to the block hash for signature check.

Member Data Documentation

◆ Destination

FIoBuffer& UE::FIoScatterGatherRequestParams::Destination

◆ DestinationSize

uint64 UE::FIoScatterGatherRequestParams::DestinationSize

◆ FileHandle

FIoFileHandle UE::FIoScatterGatherRequestParams::FileHandle

◆ Params

FScatterParamsArray UE::FIoScatterGatherRequestParams::Params

◆ Priority

int32 UE::FIoScatterGatherRequestParams::Priority

◆ UserData

void* UE::FIoScatterGatherRequestParams::UserData

The documentation for this class was generated from the following file: