mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-22 10:29:48 +00:00
12 lines
302 B
C
12 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__
|