6 #ifndef MATERIALX_OIIOIMAGELOADER_H
7 #define MATERIALX_OIIOIMAGELOADER_H
27 _extensions.insert(BMP_EXTENSION);
28 _extensions.insert(GIF_EXTENSION);
29 _extensions.insert(HDR_EXTENSION);
30 _extensions.insert(JPG_EXTENSION);
31 _extensions.insert(JPEG_EXTENSION);
32 _extensions.insert(PIC_EXTENSION);
33 _extensions.insert(PNG_EXTENSION);
34 _extensions.insert(PSD_EXTENSION);
35 _extensions.insert(TGA_EXTENSION);
36 _extensions.insert(EXR_EXTENSION);
37 _extensions.insert(TIF_EXTENSION);
38 _extensions.insert(TIFF_EXTENSION);
39 _extensions.insert(TX_EXTENSION);
40 _extensions.insert(TXT_EXTENSION);
41 _extensions.insert(TXR_EXTENSION);
51 bool verticalFlip =
false)
override;
virtual bool saveImage(const FilePath &filePath, ConstImagePtr image, bool verticalFlip=false)
#define MATERIALX_NAMESPACE_BEGIN
GLenum GLenum GLsizei void * image
virtual ImagePtr loadImage(const FilePath &filePath)
virtual ~OiioImageLoader()
#define MATERIALX_NAMESPACE_END
static OiioImageLoaderPtr create()
Create a new OpenImageIO image loader.
shared_ptr< Image > ImagePtr
A shared pointer to an image.
std::shared_ptr< class OiioImageLoader > OiioImageLoaderPtr
Shared pointer to an OiioImageLoader.
shared_ptr< const Image > ConstImagePtr
A shared pointer to a const image.