YAGE  0.02
Yet Another Game Engine
imageloader.hpp
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * imageloader.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef IMAGE_LOADER_HPP
10 #define IMAGE_LOADER_HPP
11 
12 #include "texture.hpp"
13 
14 #include <string>
15 
16 namespace yage {
17 
18 class ImageLoader {
19 public:
20  static Texture loadPng(const std::string& file_path);
21 };
22 
23 } // yage
24 
25 #endif
Definition: imageloader.hpp:18
static Texture loadPng(const std::string &file_path)
Definition: imageloader.cpp:18
Definition: texture.hpp:16
Templated matrix class.
Definition: camera2d.hpp:17