You.i Engine
CYIAssetDecoderJPG Class Reference

Detailed Description

Asset decoder for JPEG image files.

#include <asset/YiAssetDecoderJPG.h>

Inheritance diagram for CYIAssetDecoderJPG:

Public Member Functions

 CYIAssetDecoderJPG ()
 
virtual ~CYIAssetDecoderJPG ()
 
- Public Member Functions inherited from CYIAssetDecoderImage
 CYIAssetDecoderImage ()
 
virtual ~CYIAssetDecoderImage ()
 
virtual bool SupportsParams (const CYIAssetLoadParams *pDecodeParams) override
 
virtual bool IsFormatSupported (const uint8_t *pData, uint32_t nDataSize) override
 
virtual std::shared_ptr< CYIAssetDecodeAsset (const CYIString &path, const CYIAssetLoadParams *pDecodeParams) override
 
virtual std::shared_ptr< CYIAssetDecodeAsset (const uint8_t *pData, uint32_t nDataSize, const CYIAssetLoadParams *pDecodeParams) override
 
virtual bool DecodeAsset (const std::shared_ptr< CYIAsset > &pAsset) override
 
virtual bool DecodeAsset (const std::shared_ptr< CYIAsset > &pAsset, const uint8_t *pData, uint32_t uDataSize) override
 
- Public Member Functions inherited from CYIAssetDecoder
 CYIAssetDecoder (const CYIRuntimeTypeInfo &assetType)
 
virtual ~CYIAssetDecoder ()
 
virtual bool IsExtensionSupported (const CYIString &extension)
 
virtual bool SupportsType (const CYIRuntimeTypeInfo &assetType)
 
CYIString GetExtension () const
 
const std::vector< CYIString > & GetExtensions () const
 

Additional Inherited Members

- Protected Member Functions inherited from CYIAssetDecoderImage
 CYIAssetDecoderImage (const CYIRuntimeTypeInfo &assetType)
 
void SetDecoder (std::unique_ptr< CYIImageDecoder > pDecoder)
 
bool PopulateTexture (const std::shared_ptr< CYIAssetTexture > &pAsset, const CYIString &path, const CYIAssetLoadParams *pDecodeParams)
 
bool PopulateTexture (const std::shared_ptr< CYIAssetTexture > &pAsset, const uint8_t *pData, uint32_t nDataSize, const CYIAssetLoadParams *pDecodeParams)
 
- Protected Attributes inherited from CYIAssetDecoder
std::vector< CYIStringm_SupportedExtensions
 
const CYIRuntimeTypeInfom_AssetType
 

Constructor & Destructor Documentation

CYIAssetDecoderJPG::CYIAssetDecoderJPG ( )
inline
virtual CYIAssetDecoderJPG::~CYIAssetDecoderJPG ( )
inlinevirtual

The documentation for this class was generated from the following file: