mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-19 22:43:32 +00:00
13 lines
302 B
C
13 lines
302 B
C
#ifndef PNGLOADER_H__
|
|
#define PNGLOADER_H__
|
|
|
|
#include "../client/renderer/TextureData.h"
|
|
|
|
#include <cstddef>
|
|
|
|
/// Decode a PNG (from memory) into a TextureData.
|
|
/// Returns an empty TextureData on failure.
|
|
TextureData loadPngFromMemory(const unsigned char* data, size_t size);
|
|
|
|
#endif // PNGLOADER_H__
|