Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/SparseVolumeTexture
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USparseVolumeTexture
- USparseVolumeTextureFrame
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/SparseVolumeTexture/SparseVolumeTexture.h |
| Include | #include "SparseVolumeTexture/SparseVolumeTexture.h" |
Syntax
class USparseVolumeTextureFrame : public USparseVolumeTexture
Remarks
Represents a frame in a SparseVolumeTexture sequence and owns the actual data needed for rendering. Is owned by a UStreamableSparseVolumeTexture object.
Constructors
| Type | Name | Description | |
|---|---|---|---|
USparseVolumeTextureFrame
(
const FObjectInitializer& ObjectInitializer |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Cache
(
bool bSkipDDCAndSetResourcesToDefault |
Caches the derived data (FResources) of this frame to/from DDC and ensures that FTextureRenderResources exists. | |
| bool | Creates TextureRenderResources if they don't already exist. Returns false if they already existed. | ||
| USparseVolumeTextureFrame * | GetFrameAndIssueStreamingRequest
(
USparseVolumeTexture* SparseVolumeTexture, |
Retrieves a frame from the given SparseVolumeTexture and also issues a streaming request for it. | |
| int32 | |||
| UE::SVT::FResources * | GetResources () |
||
| bool | Initialize
(
USparseVolumeTexture* InOwner, |
Overridden from USparseVolumeTexture
| Type | Name | Description | |
|---|---|---|---|
| FVector4f | GetFallbackValue
(
int32 AttributesIndex |
||
| EPixelFormat | GetFormat
(
int32 AttributesIndex |
||
| int32 | GetNumFrames () |
||
| int32 | |||
| TextureAddress | |||
| TextureAddress | |||
| TextureAddress | |||
| const UE::SVT::FTextureRenderResources * | |||
| FIntVector |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginCacheForCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
Starts caching of platform specific data for the target platform Called when cooking before serialization so that object can prepare platform specific data Not called during normal loading of objects | |
| void | BeginDestroy () |
Called before destroying the object. | |
| void | Clear all cached cooked platform data | ||
| void | ClearCachedCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
Clears cached cooked platform data for specific platform | |
| void | Called to finish destroying the object. | ||
| void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). | |
| bool | IsCachedCookedPlatformDataLoaded
(
const ITargetPlatform* TargetPlatform |
Have we finished loading all the cooked platform data for the target platforms requested in BeginCacheForCookedPlatformData | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | Handles reading, writing, and reference collecting using FArchive. | ||
| void | All caching has finished for this object (all IsCachedCookedPlatformDataLoaded functions have finished for all platforms) |