2020-09-01 14:07:48 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "Sampling/MeshImageBakingCache.h"
|
|
|
|
|
|
2021-03-09 19:33:56 -04:00
|
|
|
namespace UE
|
|
|
|
|
{
|
|
|
|
|
namespace Geometry
|
|
|
|
|
{
|
2020-09-01 14:07:48 -04:00
|
|
|
|
|
|
|
|
class DYNAMICMESH_API FMeshImageBaker
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
virtual ~FMeshImageBaker() {}
|
|
|
|
|
|
|
|
|
|
void SetCache(const FMeshImageBakingCache* CacheIn)
|
|
|
|
|
{
|
|
|
|
|
ImageBakeCache = CacheIn;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const FMeshImageBakingCache* GetCache() const
|
|
|
|
|
{
|
|
|
|
|
return ImageBakeCache;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-12 17:10:46 -04:00
|
|
|
virtual void Bake()
|
|
|
|
|
{
|
2021-05-26 17:14:57 -04:00
|
|
|
|
2021-04-12 17:10:46 -04:00
|
|
|
}
|
2020-09-01 14:07:48 -04:00
|
|
|
|
2021-05-26 17:14:57 -04:00
|
|
|
|
2020-09-01 14:07:48 -04:00
|
|
|
protected:
|
2021-05-26 17:14:57 -04:00
|
|
|
|
2020-09-01 14:07:48 -04:00
|
|
|
const FMeshImageBakingCache* ImageBakeCache;
|
|
|
|
|
|
2021-03-09 19:33:56 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // end namespace UE::Geometry
|
|
|
|
|
} // end namespace UE
|