blob: d89042e1617e92e479fa568c2cb248e4014931e3 (
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
|
#ifndef __ASURA_ENGINE_STBDECODER_H__
#define __ASURA_ENGINE_STBDECODER_H__
#include "ImageDecoder.h"
namespace AsuraEngine
{
namespace Graphics
{
///
/// ʹstb_imageѹJPEGTGABMPļ
///
class STBDecoder final : public ImageDecoder
{
public:
bool CanDecode(const Filesystem::DataBuffer* buffer) override;
void Decode(const Filesystem::DataBuffer* buffer, ImageData* data) override;
};
}
}
#endif
|