|
| ProviderType_Register (const std::string &type) |
| Registers provider type in the ProviderFactory.
|
|
virtual PixelBuffer | load (const std::string &filename, const FileSystem &fs, bool srgb) override |
| Called to load an image with this provider type.
|
|
virtual PixelBuffer | load (IODevice &file, bool srgb) override |
|
virtual void | save (PixelBuffer buffer, const std::string &filename, FileSystem &fs) override |
| Called to save a given PixelBuffer to a file.
|
|
virtual void | save (PixelBuffer buffer, IODevice &file) override |
|
| ImageProviderType (const std::string &type) |
| Registers a provider type in the ImageProviderFactory.
|
|
virtual | ~ImageProviderType () |
| Unregisters a provider type in the ImageProviderFactory.
|
|
virtual PixelBuffer | load (const std::string &filename, const FileSystem &fs, bool srgb)=0 |
| Called to load an image with this provider type.
|
|
virtual PixelBuffer | load (IODevice &file, bool srgb)=0 |
|
virtual void | save (PixelBuffer buffer, const std::string &filename, FileSystem &fs)=0 |
| Called to save a given PixelBuffer to a file.
|
|
virtual void | save (PixelBuffer buffer, IODevice &file)=0 |
|
template<class ProviderClass>
class clan::ProviderType_Register< ProviderClass >
Class template to register a provider type.