UVirtualTexture2D

Virtual Texture with locally configurable build settings.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "VT/VirtualTexture.h"

Syntax

class UVirtualTexture2D : public UTexture2D

Remarks

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.

Variables

Name Description

Public variable

bool

 

bContinuousUpdate

Public variable

bool

 

bSinglePhysicalSpace

Public variable

FVirtualTexture...

 

Settings

Constructors

Name Description

Public function

UVirtualTexture2D

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UTexture2D

Name Description

Public function Virtual Const

bool

 

IsVirtualTexturedWithContinuousUpdate()

Returns true if this virtual texture requests round-robin updates of the virtual texture pages.

Public function Virtual Const

bool

 

IsVirtualTexturedWithSinglePhysicalSpace()

Returns true if this virtual texture uses a single physical space all of its texture layers.

Overridden from UTexture

Name Description

Public function Virtual Const

void

 

GetVirtualTextureBuildSettings

(
    FVirtualTextureBuildSettings& OutS...
)

Returns the virtual texture build settings.

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginCacheForCookedPlatformData

(
    const ITargetPlatform* TargetP...
)

Begins caching platform data in the background for the platform requested

Public function Virtual

void

 

ClearCachedCookedPlatformData

(
    const ITargetPlatform* TargetP...
)

Clears cached cooked platform data for specific platform

Public function Virtual

bool

 

IsCachedCookedPlatformDataLoaded

(
    const ITargetPlatform* TargetP...
)

Have we finished loading all the cooked platform data for the target platforms requested in BeginCacheForCookedPlatformData

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss