blob: 76e70c300ffb366f89d4063640353d1ad8250cce (
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
26
27
28
|
#ifndef __ASURA_ENGINE_STBDECODER_H__
#define __ASURA_ENGINE_STBDECODER_H__
#include "image_decoder.h"
namespace AsuraEngine
{
namespace Graphics
{
///
/// ʹstb_imageѹJPEGTGABMPļ
///
class STBDecoder ASURA_FINAL
: public ImageDecoder
{
public:
bool CanDecode(AEIO::DataBuffer& buffer) override;
void Decode(AEIO::DataBuffer& buffer, ImageData& data) override;
};
}
}
#endif
|