Radium Engine  1.5.20
Loading...
Searching...
No Matches
AssimpFileLoader.hpp
1#pragma once
2
3#include <assimp/Importer.hpp>
4
5#include <Core/Asset/FileLoaderInterface.hpp>
6#include <IO/RaIO.hpp>
7
8namespace Ra {
9namespace IO {
10
12class RA_IO_API AssimpFileLoader : public Core::Asset::FileLoaderInterface
13{
14 public:
16
17 ~AssimpFileLoader() override;
18
19 std::vector<std::string> getFileExtensions() const override;
20 bool handleFileExtension( const std::string& extension ) const override;
21 Core::Asset::FileData* loadFile( const std::string& filename ) override;
22 std::string name() const override;
23
24 private:
25 Assimp::Importer m_importer;
26};
27
28} // namespace IO
29} // namespace Ra
This class loads scenes containing MESHES only (not point-clouds)
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:3