Sceneview
 All Classes Functions Variables Enumerations Enumerator Groups Pages
asset_importer.hpp
1 // Copyright [2015] Albert Huang
2 
3 #ifndef SCENEVIEW_ASSET_IMPORTER_HPP__
4 #define SCENEVIEW_ASSET_IMPORTER_HPP__
5 
6 #include <QString>
7 
8 #include <sceneview/scene.hpp>
9 #include <sceneview/resource_manager.hpp>
10 
11 namespace sv {
12 
20  public:
37  static Scene::Ptr ImportFile(ResourceManager::Ptr resources,
38  const QString& fname,
39  const QString& resource_name = ResourceManager::kAutoName);
40 };
41 
42 
43 } // namespace sv
44 
45 #endif // SCENEVIEW_ASSET_IMPORTER_HPP__
static Scene::Ptr ImportFile(ResourceManager::Ptr resources, const QString &fname, const QString &resource_name=ResourceManager::kAutoName)
Imports assets from a file.
Imports 3D assets (models) from file.
Definition: asset_importer.hpp:19