blob: d632a2f1bd9907bbbd8c477c3ea1c8dba365c359 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include <memory>
#include <string>
#include "NvBlastExtAuthoringMesh.h"
class IMeshFileReader
{
public:
/*
Load from the specified file path, returning a mesh or nullptr if failed
*/
virtual std::shared_ptr<Nv::Blast::Mesh> loadFromFile(std::string filename) = 0;
virtual bool getConvertToUE4() { return bConvertToUE4; }
virtual void setConvertToUE4(bool bConvert) { bConvertToUE4 = bConvert; }
private:
bool bConvertToUE4;
};
|