Navigation
API > API/Runtime > API/Runtime/Engine
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.
| Name | FDerivedTextureData |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/SparseVolumeTexture/SparseVolumeTextureData.h |
| Include Path | #include "SparseVolumeTexture/SparseVolumeTextureData.h" |
Syntax
struct FDerivedTextureData
Structs
| Name | Remarks |
|---|---|
| FMipPageRange | Pages are ordered by mip level. This struct represents the range of pages for a given mip level. |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Header | FHeader | SparseVolumeTexture/SparseVolumeTextureData.h | ||
| MipPageRanges | TArray< FMipPageRange > | SparseVolumeTexture/SparseVolumeTextureData.h | ||
| NumPhysicalTiles | uint32 | SparseVolumeTexture/SparseVolumeTextureData.h | ||
| PageTableCoords | TArray< uint32 > | SparseVolumeTexture/SparseVolumeTextureData.h | ||
| PageTableParentIndices | TArray< uint32 > | SparseVolumeTexture/SparseVolumeTextureData.h | ||
| PageTableTileIndices | TArray< uint32 > | SparseVolumeTexture/SparseVolumeTextureData.h | ||
| PhysicalTileDataA | TArray64< uint8 > | SparseVolumeTexture/SparseVolumeTextureData.h | ||
| PhysicalTileDataB | TArray64< uint8 > | SparseVolumeTexture/SparseVolumeTextureData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Build
(
const FTextureData& MippedTextureData |
SparseVolumeTexture/SparseVolumeTextureData.h | ||
void Reset() |
SparseVolumeTexture/SparseVolumeTextureData.h |