UVirtualTextureBuilder

Container for a [UVirtualTexture2D](API\Runtime\Engine\VT\UVirtualTexture2D) that can be built from a [FVirtualTextureBuildDesc](API\Runtime\Engine\VT\FVirtualTextureBuildDesc) description.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UVirtualTextureBuilder

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/VT/VirtualTextureBuilder.h

Include

#include "VT/VirtualTextureBuilder.h"

Syntax

class UVirtualTextureBuilder : public UObject

Remarks

Container for a UVirtualTexture2D that can be built from a FVirtualTextureBuildDesc description. This has a simple BuildTexture() interface but we may want to extend in the future to support partial builds or other more blueprint driven approaches for data generation.

Variables

Name Description

Public variable

uint64

 

BuildHash

Some client defined hash of that defines how the Texture was built.

Public variable

TObjectPtr< cla...

 

Texture

The UTexture object.

Constructors

Name Description

Public function

UVirtualTextureBuilder

(
    const FObjectInitializer& ObjectIn...
)

Destructors

Name Description

Public function

~UVirtualTextureBuilder()

Functions

Name Description

Public function

void

 

BuildTexture

(
    FVirtualTextureBuildDesc const& Bu...
)

Creates a new UVirtualTexture2D and stores it in the contained Texture.

Overridden from UObject

Name Description

Protected function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.