Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/SparseVolumeTexture
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/SparseVolumeTexture/SparseVolumeTextureData.h |
| Include | #include "SparseVolumeTexture/SparseVolumeTextureData.h" |
Syntax
struct FDerivedTextureData
Remarks
Represents mip mapped SparseVolumeTexture data ready for compression/serializing. The data is stored as a set of arrays for the page table and a set of arrays for the tile data. The page table arrays are essentially struct-of-arrays and store only those elements of the dense page page table which actually point to a tile (non-zero). Each stored page consists of a coordinate in the 3D page table, an index to the tile it points to and another index to the parent page, which is the corresponding page in the next higher mip level. Deduplicated tiles (of voxels) for all mip levels are stored in a single set of arrays as raw bytes.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FHeader | Header | ||
| TArray< FMipPageRange > | MipPageRanges | ||
| uint32 | NumPhysicalTiles | ||
| TArray< uint32 > | PageTableCoords | ||
| TArray< uint32 > | PageTableParentIndices | ||
| TArray< uint32 > | PageTableTileIndices | ||
| TArray64< uint8 > | PhysicalTileDataA | ||
| TArray64< uint8 > | PhysicalTileDataB |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Build
(
const FTextureData& MippedTextureData |
||
| void | Reset () |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FMipPageRange | Pages are ordered by mip level. This struct represents the range of pages for a given mip level. |