You.i Engine
YiAssetDecoderGIF.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. All rights reserved.
2 #ifndef _YI_ASSET_DECODER_GIF_H_
3 #define _YI_ASSET_DECODER_GIF_H_
4 
7 #include "utility/YiString.h"
8 
18 {
19 public:
21  {
22  SetDecoder(std::make_unique<CYIImageDecoderGIF>());
23  m_SupportedExtensions = {"gif"};
24  }
26  {}
27 };
28 
31 #endif // _YI_ASSET_DECODER_GIF_H_
Base class for all specialized raster image decoders.
Definition: YiAssetDecoderImage.h:21
CYIAssetDecoderGIF()
Definition: YiAssetDecoderGIF.h:20
virtual ~CYIAssetDecoderGIF()
Definition: YiAssetDecoderGIF.h:25
std::vector< CYIString > m_SupportedExtensions
Definition: YiAssetDecoder.h:88
void SetDecoder(std::unique_ptr< CYIImageDecoder > pDecoder)
Asset decoder for GIF image files.
Definition: YiAssetDecoderGIF.h:17