Blender V4.3
image_oiio.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
2 *
3 * SPDX-License-Identifier: Apache-2.0 */
4
5#ifndef __IMAGE_OIIO__
6#define __IMAGE_OIIO__
7
8#include "scene/image.h"
9
11
13 public:
14 OIIOImageLoader(const string &filepath);
16
17 bool load_metadata(const ImageDeviceFeatures &features, ImageMetaData &metadata) override;
18
19 bool load_pixels(const ImageMetaData &metadata,
20 void *pixels,
21 const size_t pixels_size,
22 const bool associate_alpha) override;
23
24 string name() const override;
25
26 ustring osl_filepath() const override;
27
28 bool equals(const ImageLoader &other) const override;
29
30 protected:
31 ustring filepath;
32};
33
35
36#endif /* __IMAGE_OIIO__ */
ustring osl_filepath() const override
bool equals(const ImageLoader &other) const override
bool load_pixels(const ImageMetaData &metadata, void *pixels, const size_t pixels_size, const bool associate_alpha) override
ustring filepath
Definition image_oiio.h:31
OIIOImageLoader(const string &filepath)
bool load_metadata(const ImageDeviceFeatures &features, ImageMetaData &metadata) override
string name() const override
#define CCL_NAMESPACE_END