Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/VT
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVirtualTextureBuilder
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/VT/VirtualTextureBuilder.h |
| Include | #include "VT/VirtualTextureBuilder.h" |
Syntax
UCLASS (ClassGroup=Rendering, BlueprintType, MinimalAPI)
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
| Type | Name | Description | |
|---|---|---|---|
| bool | bSeparateTextureForMobile | Whether to use a separate texture for Mobile rendering, only if virtual texture support on Mobile is enabled and if RVT support on mobile is enabled in the project settings (see r.Mobile.VirtualTextures). | |
| uint64 | BuildHash | Some client defined hash of that defines how the Texture was built. | |
| TObjectPtr< class UVirtualTexture2D > | Texture | The (embedded) texture asset. | |
| TObjectPtr< class UVirtualTexture2D > | TextureMobile | The (embedded) texture asset for mobile rendering, only if virtual texture support on Mobile is enabled and if RVT support on mobile is enabled in the project settings (see r.Mobile.VirtualTextures). |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UVirtualTextureBuilder
(
const FObjectInitializer& ObjectInitializer |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BuildTexture
(
EShadingPath ShadingPath, |
Creates a new UVirtualTexture2D and stores it in the contained Texture. | |
| UVirtualTexture2D * | GetVirtualTexture
(
EShadingPath ShadingPath |
Virtual texture for a specific shading path |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | CanEditChange
(
const FProperty* InProperty |
Called by the editor to query whether a property of this object is allowed to be modified. | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | Handles reading, writing, and reference collecting using FArchive. |