36 "Implements Portable Network Graphics image support",
Defines the plugin module interface for dynamically loaded plugins.
DLL bool RegisterImageDecoder(const std::string &aMagick, const std::function< bool(Texture &, size_t, const void *) > &aDecoder)
Registers an image decoder for a specific file magic identifier.
DLL bool UnregisterImageDecoder(const std::string &aMagick)
Unregisters a previously registered image decoder.
bool DecodePNG(Texture &aTexture, size_t aBufferSize, const void *aBuffer)
Decodes PNG image data from a memory buffer into a Texture.
Interface that every loadable plugin module must expose.