Ocular Engine
SceneObjectLoader.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_CORE_SCENE_OBJECT_LOADER__H__
19 #define __H__OCULAR_CORE_SCENE_OBJECT_LOADER__H__
20 
21 #include "FileIO/File.hpp"
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Core
36  {
37  class SceneObject;
38  struct Node_Internal;
39 
50  {
51  public:
52 
61  static SceneObject* Load(File const& file);
62 
72  static SceneObject* Load(Node_Internal* node);
73 
74  protected:
75 
76  static bool IsValidFile(File const& file);
77 
78  private:
79  };
80  }
84 }
89 //------------------------------------------------------------------------------------------
90 
91 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
static SceneObject * Load(File const &file)
Definition: SceneObjectLoader.cpp:43
Handles the loading of .opre files (Ocular Predefined Scene Object)
Definition: SceneObjectLoader.hpp:49
Definition: SceneObject.hpp:93
Definition: File.hpp:41
Definition: SceneLoadInternal.hpp:42