added png loader

This commit is contained in:
h4570
2020-12-01 17:25:18 +01:00
parent 6f1d0e2e33
commit 3841487388
2 changed files with 225 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
/*
# ______ ____ ___
# | \/ ____| |___|
# | | | \ | |
#-----------------------------------------------------------------------
# Copyright 2020, tyra - https://github.com/h4570/tyra
# Licenced under Apache License 2.0
# Sandro Sobczyński <sandro.sobczynski@gmail.com>
*/
#ifndef _TYRA_PNG_LOADER_
#define _TYRA_BMP_LOADER_
#include <stdio.h>
#include <tamtypes.h>
#include "../models/mesh_texture.hpp"
/** Class responsible for loading images in bmp format */
class PngLoader
{
public:
PngLoader();
~PngLoader();
void load(MeshTexture &o_texture, char *t_subfolder, char *t_name, char *t_extension);
};
#endif