/Engine/Source/Runtime/ImageCore/Public/DDSFile.h
Ar->Close()delete Ar; }
struct FDDSFile
uint32
ArraySize
Array size here uses the conventions as in the D3D runtime, which means an array of N cubemaps has an array size of 6N (one element per face).
uint32
CreateFlags
uint32
Depth
int32
Dimension
EDXGIFormat
DXGIFormat
uint32
Height
uint32
MipCount
TArray64< uint8...
MipRawData
When we allocate the mips ourselves, we keep all storage together in a single allocation, namely this one, and the mips point into it.
TArray<FDDSMip...
Mips
Mips are ordered starting from mip 0 (full-size texture) decreasing in size; for arrays, we store the full mip chain for one array element before advancing to the next array element, and have (ArraySize * MipCount) mips total.
uint32
Width