Navigation
API > API/Runtime > API/Runtime/Engine
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.
| Name | UVirtualTextureBuilder |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/VT/VirtualTextureBuilder.h |
| Include Path | #include "VT/VirtualTextureBuilder.h" |
Syntax
UCLASS (ClassGroup=Rendering, BlueprintType, MinimalAPI,
Meta=(DisplayName="Streaming Runtime Virtual Texture"))
class UVirtualTextureBuilder : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVirtualTextureBuilder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UVirtualTextureBuilder
(
const FObjectInitializer& ObjectInitializer |
VT/VirtualTextureBuilder.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~UVirtualTextureBuilder() |
VT/VirtualTextureBuilder.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSeparateTextureForMobile | bool | 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). | VT/VirtualTextureBuilder.h |
|
| BuildHash | uint64 | Some client defined hash of that defines how the Texture was built. | VT/VirtualTextureBuilder.h | |
| Texture | TObjectPtr< class UVirtualTexture2D > | The (embedded) texture asset. | VT/VirtualTextureBuilder.h |
|
| TextureMobile | TObjectPtr< class UVirtualTexture2D > | 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). | VT/VirtualTextureBuilder.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildTexture
(
EShadingPath ShadingPath, |
Creates a new UVirtualTexture2D and stores it in the contained Texture. | VT/VirtualTextureBuilder.h | |
UVirtualTexture2D * GetVirtualTexture
(
EShadingPath ShadingPath |
Virtual texture for a specific shading path | VT/VirtualTextureBuilder.h |
Protected
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanEditChange
(
const FProperty* InProperty |
VT/VirtualTextureBuilder.h | ||
virtual void PostLoad() |
VT/VirtualTextureBuilder.h | ||
virtual void Serialize
(
FArchive& Ar |
VT/VirtualTextureBuilder.h |