41 class ImageImportDescription_Impl;
100 std::shared_ptr<ImageImportDescription_Impl> impl;
std::function< PixelBuffer(PixelBuffer &)> & func_process()
User defined fine control of the pixel buffer.
bool is_cached() const
Returns if this image should be cached.
~ImageImportDescription()
void set_srgb(bool enable)
Controls if the image is uploaded as a sRGB texture or not.
bool flip_vertical() const
Returns the flip vertical setting.
void set_cached(bool enable)
Controls if this image can be cached.
ImageImportDescription()
Constructs a image import description with default values.
bool is_srgb() const
Returns the sRGB setting.
void set_premultiply_alpha(bool enable)
Set the premultiply alpha setting.
PixelBuffer process(PixelBuffer &image) const
Process the pixel buffers depending of the chosen settings.
bool get_premultiply_alpha() const
Returns the premultiply alpha setting.
void set_flip_vertical(bool enable)
Set the flip vertical setting.
Pixel data container.
Definition pixel_buffer.h:68
2D (left,top,right,bottom) rectangle structure - Integer
Definition rect.h:446
2D (width,height) size structure - Integer
Definition size.h:176
@ image
Definition brush.h:54