mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
16 lines
355 B
C++
16 lines
355 B
C++
#ifndef CODERS_PNG_H_
|
|
#define CODERS_PNG_H_
|
|
|
|
#include <string>
|
|
#include "../typedefs.h"
|
|
|
|
class Texture;
|
|
class ImageData;
|
|
|
|
namespace png {
|
|
extern ImageData* load_image(std::string filename);
|
|
extern void write_image(std::string filename, const ImageData* image);
|
|
extern Texture* load_texture(std::string filename);
|
|
}
|
|
|
|
#endif /* CODERS_PNG_H_ */
|