Blender V5.3
blender::imbuf::ReadContext Struct Reference

#include <openimageio_support.hh>

Public Attributes

const uchar * mem_start
const size_t mem_size
const char * file_format
const eImbFileType file_type
const ImBufFlags flags
bool use_all_planes = false
bool use_metadata_colorspace = false

Detailed Description

Parameters and settings used while reading image formats.

Definition at line 31 of file openimageio_support.hh.

Member Data Documentation

◆ file_format

const char* blender::imbuf::ReadContext::file_format

Definition at line 34 of file openimageio_support.hh.

Referenced by blender::imbuf::imb_oiio_read().

◆ file_type

const eImbFileType blender::imbuf::ReadContext::file_type

Definition at line 35 of file openimageio_support.hh.

Referenced by blender::imbuf::get_oiio_ibuf().

◆ flags

const ImBufFlags blender::imbuf::ReadContext::flags

Definition at line 36 of file openimageio_support.hh.

Referenced by blender::imbuf::get_oiio_ibuf().

◆ mem_size

const size_t blender::imbuf::ReadContext::mem_size

Definition at line 33 of file openimageio_support.hh.

Referenced by blender::imbuf::imb_oiio_read().

◆ mem_start

const uchar* blender::imbuf::ReadContext::mem_start

Definition at line 32 of file openimageio_support.hh.

Referenced by blender::imbuf::imb_oiio_read().

◆ use_all_planes

bool blender::imbuf::ReadContext::use_all_planes = false

Allocate and use all ImBuf image planes even if the image has fewer.

Definition at line 39 of file openimageio_support.hh.

Referenced by blender::imbuf::get_oiio_ibuf(), and blender::imb_load_hdr().

◆ use_metadata_colorspace

bool blender::imbuf::ReadContext::use_metadata_colorspace = false

Use the colorspace provided in the image metadata when available.

Definition at line 42 of file openimageio_support.hh.

Referenced by blender::imb_load_psd(), and blender::imbuf::set_file_colorspace().


The documentation for this struct was generated from the following file: