summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/image/png_decoder.h
blob: af671867de5b2a05842d8caf6211a0f008e53aa4 (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 "image_decoder.h"

namespace_begin(AsuraEngine)
namespace_begin(Image)

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

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

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

};

namespace_end
namespace_end

#endif