You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
45 lines
886 B
C++
45 lines
886 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "SimplygonUtilitiesPrivatePCH.h"
|
|
|
|
#include "SimplygonUtilitiesModule.h"
|
|
|
|
#include "RawMesh.h"
|
|
#include "MeshUtilities.h"
|
|
#include "MaterialExportUtils.h"
|
|
|
|
#define LOCTEXT_NAMESPACE "SimplygonUtilities"
|
|
|
|
IMPLEMENT_MODULE( FSimplygonUtilities, SimplygonUtilities )
|
|
|
|
|
|
void FSimplygonUtilities::StartupModule()
|
|
{
|
|
}
|
|
|
|
void FSimplygonUtilities::ShutdownModule()
|
|
{
|
|
|
|
}
|
|
|
|
FMeshMaterialReductionData::FMeshMaterialReductionData(FRawMesh* InMesh, bool InReleaseMesh)
|
|
: Mesh(InMesh)
|
|
, bReleaseMesh(InReleaseMesh)
|
|
{ }
|
|
|
|
FMeshMaterialReductionData::~FMeshMaterialReductionData()
|
|
{
|
|
if (bReleaseMesh)
|
|
{
|
|
delete Mesh;
|
|
}
|
|
}
|
|
|
|
FMeshMaterialReductionData* FSimplygonUtilities::CreateMeshReductionData(FRawMesh* InMesh, bool InReleaseMesh)
|
|
{
|
|
return new FMeshMaterialReductionData(InMesh, InReleaseMesh);
|
|
}
|
|
|
|
|
|
#undef LOCTEXT_NAMESPACE
|