You.i Engine
CYIAssetDecoderTGA Class Reference

Detailed Description

Asset decoder for TGA image files.

Note
Because they lack a magic number, TGA files cannot be decoded from memory when using the CYIAssetLoader class. They can, however, be decoded from memory when using this decoder directly.
See also
CYIAssetLoader

#include <asset/YiAssetDecoderTGA.h>

Inheritance diagram for CYIAssetDecoderTGA:

Public Member Functions

 CYIAssetDecoderTGA ()
 
virtual ~CYIAssetDecoderTGA ()
 
- 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

CYIAssetDecoderTGA::CYIAssetDecoderTGA ( )
inline
virtual CYIAssetDecoderTGA::~CYIAssetDecoderTGA ( )
inlinevirtual

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