Navigation
API > API/Runtime > API/Runtime/Engine
Virtual Texture with locally configurable build settings. A raw UTexture2D can also represent a Virtual Texture but uses the one and only per-project build settings.
| Name | UVirtualTexture2D |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/VT/VirtualTexture.h |
| Include Path | #include "VT/VirtualTexture.h" |
Syntax
UCLASS (ClassGroup=Rendering)
class UVirtualTexture2D : public UTexture2D
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UStreamableRenderAsset → UTexture → UTexture2D → UVirtualTexture2D
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UVirtualTexture2D
(
const FObjectInitializer& ObjectInitializer |
VT/VirtualTexture.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSinglePhysicalSpace | bool | VT/VirtualTexture.h | ||
| Settings | FVirtualTextureBuildSettings | VT/VirtualTexture.h |
Functions
Public
Overridden from UTexture2D
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsVirtualTexturedWithSinglePhysicalSpace () |
Returns true if this virtual texture uses a single physical space all of its texture layers. | VT/VirtualTexture.h |
Overridden from UTexture
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetVirtualTextureBuildSettings
(
FVirtualTextureBuildSettings& OutSettings |
Returns the virtual texture build settings. | VT/VirtualTexture.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginCacheForCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
Begins caching platform data in the background for the platform requested | VT/VirtualTexture.h | |
virtual void ClearCachedCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
Clears cached cooked platform data for specific platform | VT/VirtualTexture.h | |
virtual bool IsCachedCookedPlatformDataLoaded
(
const ITargetPlatform* TargetPlatform |
Have we finished loading all the cooked platform data for the given platform. | VT/VirtualTexture.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bContinuousUpdate_DEPRECATED | bool | VT/VirtualTexture.h |