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 FResources
Remarks
Represents the derived data of a SVT that is needed by the streaming manager.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TStaticArray< uint8, 12 > > | DDCChunkIds | ||
| TArray< uint32 > | DDCChunkMaxTileIndices | ||
| FIoHash | DDCKeyHash | ||
| FHeader | Header | ||
| int32 | NumMipLevels | ||
| uint32 | ResourceFlags | ||
| FString | ResourceName | These are used for logging and retrieving StreamableMipLevels from DDC in FStreamingManager. | |
| TArray< uint8 > | RootData | Data for the highest/"root" mip level. | |
| FByteBulkData | StreamableMipLevels | Data for all streamable mip levels. | |
| FTileStreamingMetaData | StreamingMetaData | Info about offsets into the tile data. | |
| FPageTopology | Topology |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Build
(
USparseVolumeTextureFrame* Owner, |
Builds all the data from SourceData. Is called by Cache(). | |
| void | Cache
(
USparseVolumeTextureFrame* Owner, |
Cache the built data to/from DDC. If bLocalCachingOnly is true, the read/write queries will only use the local DDC; otherwise the remote DDC will also be used. | |
| void | DropBulkData () |
Removes the StreamableMipLevels bulk data if it was successfully cached to DDC. | |
| bool | |||
| bool | Returns true if there are streamable mip levels. | ||
| bool | RebuildBulkDataFromCacheAsync
(
const UObject* Owner, |
Fills StreamableMipLevels with data from DDC. Returns true when done. | |
| void | Called when serializing to/from DDC buffers and when serializing the owning USparseVolumeTextureFrame. | ||
| void | SetDefault
(
EPixelFormat FormatA, |
Sets empty default data. This is used when caching/building is canceled but some form of valid data is needed. | |
| void | SetHasBuildFromDDCError
(
bool bHasError |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EDDCRebuildState |