// Copyright 2020 Phyronnaz #pragma once #include "CoreMinimal.h" class FVoxelData; struct FVoxelIntBox; struct FModifiedValueDummy { template FModifiedValueDummy(TArgs...) {} }; template class TVoxelDataImpl { public: FVoxelData& Data; const bool bMultiThreadedEdits; const bool bRecordModifiedValues; TArray ModifiedValues; TArray OtherModifiedValues; explicit TVoxelDataImpl(FVoxelData& Data, bool bMultiThreadedEdits, bool bRecordModifiedValues) : Data(Data) , bMultiThreadedEdits(bMultiThreadedEdits) , bRecordModifiedValues(bRecordModifiedValues) { } template void Set(const FVoxelIntBox& Bounds, TLambda Lambda); template void Set(const FVoxelIntBox& Bounds, TLambda Lambda); };