YAGE  v0.1.1
Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
imageloader.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * imageloader.h
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com>
5  * MIT License, see LICENSE file for more details.
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef IMAGE_LOADER_H
10 #define IMAGE_LOADER_H
11 
12 #include "texture.h"
13 
14 #include <string>
15 
16 namespace yage
17 {
18 
20 {
21 public:
22  static Texture loadPng(const std::string &file_path);
23 };
24 
25 } // namespace yage
26 
27 #endif
Definition: imageloader.h:19
static Texture loadPng(const std::string &file_path)
Definition: imageloader.cpp:24
Definition: texture.h:17