opencolorio_config_aces.colorspace_factory#
- opencolorio_config_aces.colorspace_factory(name, family=None, encoding=None, aliases=None, categories=None, description=None, equality_group=None, bit_depth=None, allocation=None, allocation_vars=None, to_reference=None, from_reference=None, is_data=None, reference_space=None, base_colorspace=None, **kwargs)[source]#
OpenColorIO Colorspace factory.
- Parameters:
name (unicode) – OpenColorIO Colorspace name.
family (unicode, optional) – OpenColorIO Colorspace family.
encoding (unicode, optional) – OpenColorIO Colorspace encoding.
aliases (unicode or array_like, optional) – OpenColorIO Colorspace aliases.
categories (unicode or array_like, optional) – OpenColorIO Colorspace categories.
description (unicode, optional) – OpenColorIO Colorspace description.
equality_group (unicode, optional) – OpenColorIO Colorspace equality_group.
bit_depth (int, optional) – OpenColorIO Colorspace bit depth.
allocation (int, optional) – OpenColorIO Colorspace allocation type.
allocation_vars (tuple, optional) – OpenColorIO Colorspace allocation variables.
to_reference (dict or object, optional) – To Reference OpenColorIO transform.
from_reference (dict or object, optional) – From Reference OpenColorIO transform.
reference_space (unicode or ReferenceSpaceType, optional) – OpenColorIO Colorspace reference space.
is_data (bool, optional) – Whether the Colorspace represents data.
base_colorspace (dict or ColorSpace, optional) – OpenColorIO base Colorspace inherited for initial attribute values.
**kwargs (dict, optional) – Keywords arguments.
- Returns:
OpenColorIO colorspace.
- Return type:
ocio.ColorSpace