Oxygine  1
2g game engine
ResStarlingAtlas.h
1 #pragma once
2 #include "oxygine-include.h"
3 #include "Resource.h"
4 namespace oxygine
5 {
6  class ResStarlingAtlas: public Resource
7  {
8  INHERITED(Resource);
9  public:
10  static Resource* create(CreateResourceContext& context);
11 
14 
15  void init(Resources*, pugi::xml_node& node);
16 
17 
18  void mtload();
19 
20  private:
21  void loadAtlas(CreateResourceContext& context);
22  void _load(LoadResourcesContext*)override;
23  void _unload() override;
24  void _restore(Restorable* r, void*);
25 
26  spNativeTexture _texture;
27  std::string _imagePath;
28  };
29 }
Definition: CreateResourceContext.h:94
–oxgl-end–!
Definition: Actor.h:14
Definition: ResStarlingAtlas.h:6
Definition: Resource.h:10
Definition: CreateResourceContext.h:60
Definition: Restorable.h:8
Definition: Resources.h:43