Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/SparseVolumeTexture
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/SparseVolumeTexture/SparseVolumeTexture.h |
| Include | #include "SparseVolumeTexture/SparseVolumeTexture.h" |
Syntax
struct FTileInfo
Remarks
All the tiles are essentially stored as an array of structs with each tile having different memory sections:
| OccupancyBitsA | OccupancyBitsB | VoxelsA | VoxelsB |
OccupancyBitsA and OccupancyBitsB will only be stored if the respective texture/attributes group exists (Format is != Unknown). Each set of occupancy bits has a fixed size, so it doesn't need to be stored explicitely. VoxelsA and VoxelsB are the compacted non-fallback-value voxels of the tile. The sizes of these sections varies with the number of active voxels in the tile (and in each texture).
Variables
| Type | Name | Description | |
|---|---|---|---|
| TStaticArray< uint32, 2 > | NumVoxels | ||
| TStaticArray< uint32, 2 > | OccupancyBitsOffsets | ||
| TStaticArray< uint32, 2 > | OccupancyBitsSizes | ||
| uint32 | Offset | ||
| uint32 | Size | ||
| TStaticArray< uint32, 2 > | VoxelDataOffsets | ||
| TStaticArray< uint32, 2 > | VoxelDataSizes |