ScummVM API documentation
MTropolis::ImageAsset Class Reference
Inheritance diagram for MTropolis::ImageAsset:
MTropolis::Asset

Public Types

enum  ImageFormat { kImageFormatMac, kImageFormatWindows }
 

Public Member Functions

bool load (AssetLoaderContext &context, const Data::ImageAsset &data)
 
AssetType getAssetType () const override
 
const Common::RectgetRect () const
 
ColorDepthMode getColorDepth () const
 
uint32 getFilePosition () const
 
uint32 getSize () const
 
size_t getStreamIndex () const
 
ImageFormat getImageFormat () const
 
const Common::SharedPtr< CachedImage > & loadAndCacheImage (Runtime *runtime)
 
- Public Member Functions inherited from MTropolis::Asset
uint32 getAssetID () const
 

Additional Inherited Members

- Protected Attributes inherited from MTropolis::Asset
uint32 _assetID
 

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