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

#include <openimageio_support.hh>

Public Attributes

const ucharmem_start
const size_t mem_size
const char * file_format
const eImbFileType file_type
const int flags
bool use_all_planes = false
bool use_metadata_colorspace = false

Detailed Description

Parameters and settings used while reading image formats.

Definition at line 25 of file openimageio_support.hh.

Member Data Documentation

◆ file_format

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

Definition at line 28 of file openimageio_support.hh.

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

◆ file_type

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

Definition at line 29 of file openimageio_support.hh.

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

◆ flags

const int blender::imbuf::ReadContext::flags

Definition at line 30 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 27 of file openimageio_support.hh.

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

◆ mem_start

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

Definition at line 26 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 33 of file openimageio_support.hh.

Referenced by blender::imbuf::get_oiio_ibuf(), and 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 36 of file openimageio_support.hh.

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


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