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