ST_engine  0.3-ALPHA
texture.hpp
1 /* This file is part of the "ST" project.
2  * You may use, distribute or modify this code under the terms
3  * of the GNU General Public License version 2.
4  * See LICENCE.txt in the root directory of the project.
5  *
6  * Author: Maxim Atanasov
7  * E-mail: maxim.atanasov@protonmail.com
8  *
9  */
10 
11 #ifndef ST_TEXTURE_HPP
12 #define ST_TEXTURE_HPP
13 
14 #include "SDL_render.h"
15 
16 namespace ST::renderer_sdl {
17 
18  class texture {
19  public:
20  uint16_t height;
21  uint16_t width;
22  uint16_t atlas_h_offset;
23  uint16_t atlas_v_offset;
24  SDL_Texture *atlas;
25  };
26 }
27 
28 #endif //ST_TEXTURE_HPP
The renderer for the engine.