CelticCraft/Plugins/VoxelFree/Source/Voxel/Public/VoxelTools/Impl/VoxelToolsBaseImpl.h

33 lines
675 B
C
Raw Normal View History

2023-07-03 16:17:13 +00:00
// Copyright 2020 Phyronnaz
#pragma once
#include "CoreMinimal.h"
#include "VoxelEnums.h"
#include "VoxelValue.h"
#include "VoxelIntBox.h"
#include "VoxelData/VoxelDataImpl.h"
class AVoxelWorld;
class FVoxelData;
struct FVoxelIntBox;
struct FVoxelVector;
struct FModifiedVoxelValue;
struct FVoxelPaintMaterial;
class VOXEL_API FVoxelToolsBaseImpl
{
public:
template<typename TData>
static bool IsDataMultiThreaded(const TData& Data);
template<typename TData>
static FVoxelData& GetActualData(TData& Data);
template<typename TData>
static auto* GetModifiedValues(TData& Data);
template<typename T>
static auto* GetModifiedValues(TVoxelDataImpl<T>& Data);
};