Files
UnrealEngineUWP/Engine/Source/Developer/MeshReductionInterface/Public/MeshReductionModule.h
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00

38 lines
1.1 KiB
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Modules/ModuleInterface.h"
class IMeshReduction;
class IMeshMerging;
class FMeshReductionModule : public IModuleInterface
{
public:
FMeshReductionModule();
virtual void StartupModule() override;
virtual void ShutdownModule() override;
/** Returns the mesh reduction plugin if available. */
virtual IMeshReduction* GetStaticMeshReductionInterface();
/** Returns the mesh reduction plugin if available. */
virtual IMeshReduction* GetSkeletalMeshReductionInterface();
/** Returns the mesh merging plugin if available. */
virtual IMeshMerging* GetMeshMergingInterface();
virtual IMeshMerging* GetDistributedMeshMergingInterface();
private:
/** Cached pointer to the mesh reduction interface. */
IMeshReduction* StaticMeshReduction;
/** Cached pointer to the mesh reduction interface. */
IMeshReduction* SkeletalMeshReduction;
/** Cached pointer to the mesh merging interface. */
IMeshMerging* MeshMerging;
/** Cached pointer to the distributed mesh merging interface. */
IMeshMerging* DistributedMeshMerging;
};