Navigation
API > API/Runtime > API/Runtime/Engine
Mesh paint virtual texture asset. This is a virtual texture that which will be owned by a mesh component to store the mesh painting on that component. All mesh paint virtual textures will be stored using a shared virtual texture page table and physical space. This shared space means that all mesh paint virtual textures can be accessed in a "bindless" way using a small descriptor.
| Name | UMeshPaintVirtualTexture |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/VT/MeshPaintVirtualTexture.h |
| Include Path | #include "VT/MeshPaintVirtualTexture.h" |
Syntax
UCLASS (ClassGroup=Rendering, HideCategories=Texture, HideCategories=Compression,
HideCategories=Adjustments, HideCategories=Compositing, MinimalAPI)
class UMeshPaintVirtualTexture : public UTexture2D
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UStreamableRenderAsset → UTexture → UTexture2D → UMeshPaintVirtualTexture
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMeshPaintVirtualTexture
(
const FObjectInitializer& ObjectInitializer |
VT/MeshPaintVirtualTexture.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OwningComponent | TWeakObjectPtr< UPrimitiveComponent > | Weak refererence to the owning primitive component. | VT/MeshPaintVirtualTexture.h |
Functions
Public
Overridden from UTexture2D
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsVirtualTexturedWithSinglePhysicalPool () |
Returns true if this virtual texture requires that it's physical pool is never split by the r.VT.SplitPhysicalPoolSize setting. | VT/MeshPaintVirtualTexture.h |
Overridden from UTexture
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetVirtualTextureBuildSettings
(
FVirtualTextureBuildSettings& OutSettings |
Returns the virtual texture build settings. | VT/MeshPaintVirtualTexture.h | |
virtual void UpdateResourceWithParams
(
EUpdateResourceFlags InFlags |
Creates a new resource for the texture, and updates any cached references to the resource. | VT/MeshPaintVirtualTexture.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/MeshPaintVirtualTexture.h | |
virtual void ClearCachedCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
Clears cached cooked platform data for specific platform | VT/MeshPaintVirtualTexture.h | |
virtual bool IsCachedCookedPlatformDataLoaded
(
const ITargetPlatform* TargetPlatform |
Have we finished loading all the cooked platform data for the given platform. | VT/MeshPaintVirtualTexture.h |