Files
UnrealEngine/Engine/Source/Developer/NaniteBuilder/Private/Encode/NaniteEncodeVertReuseBatch.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

18 lines
426 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
namespace Nanite
{
class FCluster;
struct FMaterialRange;
void BuildVertReuseBatches(TArray<FCluster>& Clusters);
uint32 CalcVertReuseBatchInfoSize(const TArrayView<const FMaterialRange>& MaterialRanges);
void PackVertReuseBatchInfo(const TArrayView<const FMaterialRange>& MaterialRanges, TArray<uint32>& OutVertReuseBatchInfo);
}