summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/Image/PngDecoder.h
blob: 3b2a39cc739b20553d9c80df8945405b66f2d725 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _ASURA_ENGINE_PNGDECODER_H_
#define _ASURA_ENGINE_PNGDECODER_H_

#include "ImageDecoder.h"

namespace_begin(AsuraEngine)
namespace_begin(Image)

///
/// ʹlodepngѹpngļ
///
class PNGDecoder ASURA_FINAL: public ImageDecoder
{
public:

	bool CanDecode(AEFileSystem::DataBuffer& buffer) override;

	void Decode(AEFileSystem::DataBuffer& buffer, ImageData& data) override;

};

namespace_end
namespace_end

#endif