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