BsEditorResourceLoader.h 412 B

12345678910111213141516171819
  1. #pragma once
  2. #include "BsScriptEditorPrerequisites.h"
  3. #include "BsGameResourceManager.h"
  4. namespace BansheeEngine
  5. {
  6. /**
  7. * @brief Handles loading of game resources when the editor is running.
  8. */
  9. class BS_SCR_BED_EXPORT EditorResourceLoader : public IGameResourceLoader
  10. {
  11. public:
  12. /**
  13. * @copydoc IGameResourceLoader::load
  14. */
  15. HResource load(const Path& path, bool keepLoaded) const override;
  16. };
  17. }