Files
UnrealEngine/Engine/Source/Runtime/RenderCore/Public/VirtualTextureEnum.h
2025-05-18 13:04:45 +08:00

36 lines
882 B
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Misc/EnumRange.h"
#include "VirtualTextureEnum.generated.h"
/** Enumeration of the priority assigned to a given virtual texture producer. Must match EVTProducerPriority in RenderCore (they are duplicate because RenderCore cannot declare UENUMs) */
UENUM()
enum class EVTProducerPriority : uint8
{
Lowest = 0,
Lower,
Low,
BelowNormal,
Normal,
AboveNormal,
High,
Highest,
Count UMETA(Hidden)
};
ENUM_RANGE_BY_COUNT(EVTProducerPriority, EVTProducerPriority::Count);
/** Describes whether an invalidated VT area should be prioritized against others. Allows to improve reactiveness when invalidating a large number of pages */
UENUM()
enum class EVTInvalidatePriority : uint8
{
Normal = 0,
High,
Count UMETA(Hidden)
};
ENUM_RANGE_BY_COUNT(EVTInvalidatePriority, EVTInvalidatePriority::Count);