Blender V4.3
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
 
int use_colorspace_role = -1
 
bool use_all_planes = false
 
bool use_embedded_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 36 of file openimageio_support.hh.

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

◆ use_colorspace_role

int blender::imbuf::ReadContext::use_colorspace_role = -1

Override the automatic color-role choice with the value specified here.

Definition at line 33 of file openimageio_support.hh.

Referenced by imb_load_dpx(), imb_load_png(), imb_load_tiff(), and blender::imbuf::set_colorspace_name().

◆ use_embedded_colorspace

bool blender::imbuf::ReadContext::use_embedded_colorspace = false

Use the colorspace provided in the image metadata when available.

Definition at line 39 of file openimageio_support.hh.

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


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