diff options
| author | Bryan Galdrikian <[email protected]> | 2017-02-24 09:32:20 -0800 |
|---|---|---|
| committer | Bryan Galdrikian <[email protected]> | 2017-02-24 09:32:20 -0800 |
| commit | e1bf674c16e3c8472b29574159c789cd3f0c64e0 (patch) | |
| tree | 9f0cfce09c71a2c27ff19589fcad6cd83504477c /tools/common/IMeshFileReader.h | |
| parent | first commit (diff) | |
| download | blast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.tar.xz blast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.zip | |
Updating to [email protected] and [email protected] with a new directory structure.
NvBlast folder is gone, files have been moved to top level directory. README is changed to reflect this.
Diffstat (limited to 'tools/common/IMeshFileReader.h')
| -rw-r--r-- | tools/common/IMeshFileReader.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/common/IMeshFileReader.h b/tools/common/IMeshFileReader.h new file mode 100644 index 0000000..d632a2f --- /dev/null +++ b/tools/common/IMeshFileReader.h @@ -0,0 +1,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; +};
\ No newline at end of file |