Oxygine  1
2g game engine
ResAtlasGeneric.h
1 #pragma once
2 #include "ResAtlas.h"
3 namespace oxygine
4 {
5 
6  struct atlas_data;
7 
8  class ResAtlasGeneric : public ResAtlas
9  {
10  public:
11 
12  int _current;
13 
14  //CreateResourceContext _copy;
15 
16  //std::string _xmlFolder;
17 
18  void nextAtlas(int w, int h, TextureFormat tf, atlas_data& ad, const char* name);
19  void applyAtlas(atlas_data& ad, bool linear, bool clamp2edge);
20 
21  void loadAtlas(CreateResourceContext& context);
22  void loadAtlas2(CreateResourceContext& context);
23 
24  void _load(LoadResourcesContext*) override;
25  void _unload() override;
26  };
27 }
Definition: CreateResourceContext.h:94
Definition: ResAtlas.h:9
Definition: ResAtlasGeneric.h:8
–oxgl-end–!
Definition: Actor.h:14
Definition: CreateResourceContext.h:60