BsEditorResourceLoader.h 716 B

1234567891011121314151617181920212223
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsScriptEditorPrerequisites.h"
  5. #include "Resources/BsGameResourceManager.h"
  6. namespace bs
  7. {
  8. /** @addtogroup EditorScript
  9. * @{
  10. */
  11. /** Handles loading of game resources when the editor is running. */
  12. class BS_SCR_BED_EXPORT EditorResourceLoader : public IGameResourceLoader
  13. {
  14. public:
  15. /** @copydoc IGameResourceLoader::load */
  16. HResource load(const Path& path, ResourceLoadFlags flags, bool async) const override;
  17. };
  18. /** @} */
  19. }