UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LightmapVirtualTexture.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Engine/Texture2D.h"
7#include "LightmapVirtualTexture.generated.h"
8
19
20UCLASS(ClassGroup = Rendering, MinimalAPI)
22{
24
25 UPROPERTY(EditAnywhere, Category = VirtualTexture)
26 TArray<int8> TypeToLayer;
27
30
31 inline bool HasLayerForType(ELightMapVirtualTextureType InType) const { return GetLayerForType(InType) != ~0u; }
32
34 bool bPreviewLightmap;
35};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
ELightMapVirtualTextureType
Definition LightmapVirtualTexture.h:10
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
uint8_t uint8
Definition binka_ue_file_header.h:8
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition Array.h:670
Definition LightmapVirtualTexture.h:22
Definition Texture2D.h:26
Definition VirtualTextureRecreate.cpp:16