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
8
namespace
Ra
{
9
namespace
IO {
10
12
class
RA_IO_API
AssimpFileLoader
:
public
Core::Asset::FileLoaderInterface
13
{
14
public
:
15
AssimpFileLoader
();
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
std::string
Ra::IO::AssimpFileLoader
This class loads scenes containing MESHES only (not point-clouds)
Definition
AssimpFileLoader.hpp:13
Ra
hepler function to manage enum as underlying types in VariableSet
Definition
Cage.cpp:3
std::vector
src
IO
AssimpLoader
AssimpFileLoader.hpp
Generated by
1.12.0