Blender V5.3
ImageLoader Class Referenceabstract

#include <image_loader.h>

Inherited by BlenderImageLoader, OIIOImageLoader, SkyLoader, and VDBImageLoader.

Public Member Functions

 ImageLoader ()
virtual ~ImageLoader ()=default
virtual bool load_metadata (ImageMetaData &metadata, const ImageLoaderParams &params, Progress &progress)=0
virtual bool load_pixels (const ImageMetaData &metadata, void *pixels)=0
virtual bool load_pixels_tile (const ImageMetaData &, const int, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const int64_t, const ExtensionType, uint8_t *)
virtual string name () const =0
virtual int get_tile_number () const
virtual void cleanup ()
virtual bool equals (const ImageLoader &other) const =0
virtual bool is_vdb_loader () const

Static Public Member Functions

static bool equals (const ImageLoader *a, const ImageLoader *b)

Detailed Description

Definition at line 33 of file image_loader.h.

Constructor & Destructor Documentation

◆ ImageLoader()

◆ ~ImageLoader()

virtual ImageLoader::~ImageLoader ( )
virtualdefault

Member Function Documentation

◆ cleanup()

virtual void ImageLoader::cleanup ( )
inlinevirtual

Reimplemented in VDBImageLoader.

Definition at line 71 of file image_loader.h.

◆ equals() [1/2]

virtual bool ImageLoader::equals ( const ImageLoader & other) const
pure virtual

◆ equals() [2/2]

bool ImageLoader::equals ( const ImageLoader * a,
const ImageLoader * b )
static

Definition at line 18 of file image_loader.cpp.

References b, equals(), and ImageLoader().

◆ get_tile_number()

int ImageLoader::get_tile_number ( ) const
virtual

Reimplemented in BlenderImageLoader.

Definition at line 13 of file image_loader.cpp.

Referenced by name().

◆ is_vdb_loader()

bool ImageLoader::is_vdb_loader ( ) const
virtual

Reimplemented in VDBImageLoader.

Definition at line 26 of file image_loader.cpp.

Referenced by equals(), and ImageHandle::vdb_loader().

◆ load_metadata()

virtual bool ImageLoader::load_metadata ( ImageMetaData & metadata,
const ImageLoaderParams & params,
Progress & progress )
pure virtual

◆ load_pixels()

virtual bool ImageLoader::load_pixels ( const ImageMetaData & metadata,
void * pixels )
pure virtual

◆ load_pixels_tile()

virtual bool ImageLoader::load_pixels_tile ( const ImageMetaData & ,
const int ,
const int64_t ,
const int64_t ,
const int64_t ,
const int64_t ,
const int64_t ,
const int64_t ,
const int64_t ,
const ExtensionType ,
uint8_t *  )
inlinevirtual

Reimplemented in OIIOImageLoader.

Definition at line 49 of file image_loader.h.

◆ name()

virtual string ImageLoader::name ( ) const
pure virtual

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