Global

Caching

PyOpenColorIO.ClearAllCaches() None

Constants: Caches

Version

PyOpenColorIO.GetVersion() str
PyOpenColorIO.GetVersionHex() int

Logging

PyOpenColorIO.GetLoggingLevel() PyOpenColorIO.PyOpenColorIO.LoggingLevel
PyOpenColorIO.SetLoggingLevel(level: PyOpenColorIO.PyOpenColorIO.LoggingLevel) None

Logging Function

PyOpenColorIO.SetLoggingFunction(logFunction: collections.abc.Callable[[str], None]) None
PyOpenColorIO.ResetToDefaultLoggingFunction() None
PyOpenColorIO.LogMessage(level: PyOpenColorIO.PyOpenColorIO.LoggingLevel, message: str) None

Compute Hash Function

PyOpenColorIO.SetComputeHashFunction(hashFunction: collections.abc.Callable[[str], str]) None
PyOpenColorIO.ResetComputeHashFunction() None

Environment Variables

PyOpenColorIO.GetEnvVariable(name: str) str
PyOpenColorIO.SetEnvVariable(name: str, value: str) None
PyOpenColorIO.UnsetEnvVariable(name: str) None
PyOpenColorIO.IsEnvVariablePresent(name: str) bool

Constants: Environment Variables

Casting

template<class T, class U>
inline std::shared_ptr<T> OpenColorIO_v2_6dev::DynamicPtrCast(std::shared_ptr<U> const &ptr)

Conversions

Bool

PyOpenColorIO.BoolToString(value: bool) str
PyOpenColorIO.BoolFromString(str: str) bool

LoggingLevel

PyOpenColorIO.LoggingLevelToString(level: PyOpenColorIO.PyOpenColorIO.LoggingLevel) str
PyOpenColorIO.LoggingLevelFromString(str: str) PyOpenColorIO.PyOpenColorIO.LoggingLevel

TransformDirection

PyOpenColorIO.TransformDirectionToString(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) str
PyOpenColorIO.TransformDirectionFromString(str: str) PyOpenColorIO.PyOpenColorIO.TransformDirection
PyOpenColorIO.GetInverseTransformDirection(direction: PyOpenColorIO.PyOpenColorIO.TransformDirection) PyOpenColorIO.PyOpenColorIO.TransformDirection
PyOpenColorIO.CombineTransformDirections(direction1: PyOpenColorIO.PyOpenColorIO.TransformDirection, direction2: PyOpenColorIO.PyOpenColorIO.TransformDirection) PyOpenColorIO.PyOpenColorIO.TransformDirection

BitDepth

PyOpenColorIO.BitDepthToString(bitDepth: PyOpenColorIO.PyOpenColorIO.BitDepth) str
PyOpenColorIO.BitDepthFromString(str: str) PyOpenColorIO.PyOpenColorIO.BitDepth
PyOpenColorIO.BitDepthIsFloat(bitDepth: PyOpenColorIO.PyOpenColorIO.BitDepth) bool
PyOpenColorIO.BitDepthToInt(bitDepth: PyOpenColorIO.PyOpenColorIO.BitDepth) int

Allocation

PyOpenColorIO.AllocationToString(allocation: PyOpenColorIO.PyOpenColorIO.Allocation) str
PyOpenColorIO.AllocationFromString(str: str) PyOpenColorIO.PyOpenColorIO.Allocation

Interpolation

PyOpenColorIO.InterpolationToString(interpolation: PyOpenColorIO.PyOpenColorIO.Interpolation) str
PyOpenColorIO.InterpolationFromString(str: str) PyOpenColorIO.PyOpenColorIO.Interpolation

GpuLanguage

PyOpenColorIO.GpuLanguageToString(language: PyOpenColorIO.PyOpenColorIO.GpuLanguage) str
PyOpenColorIO.GpuLanguageFromString(str: str) PyOpenColorIO.PyOpenColorIO.GpuLanguage

EnvironmentMode

PyOpenColorIO.EnvironmentModeToString(mode: PyOpenColorIO.PyOpenColorIO.EnvironmentMode) str
PyOpenColorIO.EnvironmentModeFromString(str: str) PyOpenColorIO.PyOpenColorIO.EnvironmentMode

CDLStyle

PyOpenColorIO.CDLStyleToString(style: PyOpenColorIO.PyOpenColorIO.CDLStyle) str
PyOpenColorIO.CDLStyleFromString(str: str) PyOpenColorIO.PyOpenColorIO.CDLStyle

RangeStyle

PyOpenColorIO.RangeStyleToString(style: PyOpenColorIO.PyOpenColorIO.RangeStyle) str
PyOpenColorIO.RangeStyleFromString(str: str) PyOpenColorIO.PyOpenColorIO.RangeStyle

FixedFunctionStyle

PyOpenColorIO.FixedFunctionStyleToString(style: PyOpenColorIO.PyOpenColorIO.FixedFunctionStyle) str
PyOpenColorIO.FixedFunctionStyleFromString(str: str) PyOpenColorIO.PyOpenColorIO.FixedFunctionStyle

GradingStyle

PyOpenColorIO.GradingStyleToString(style: PyOpenColorIO.PyOpenColorIO.GradingStyle) str
PyOpenColorIO.GradingStyleFromString(str: str) PyOpenColorIO.PyOpenColorIO.GradingStyle

ExposureContrastStyle

PyOpenColorIO.ExposureContrastStyleToString(style: PyOpenColorIO.PyOpenColorIO.ExposureContrastStyle) str
PyOpenColorIO.ExposureContrastStyleFromString(str: str) PyOpenColorIO.PyOpenColorIO.ExposureContrastStyle

NegativeStyle

PyOpenColorIO.NegativeStyleToString(style: PyOpenColorIO.PyOpenColorIO.NegativeStyle) str
PyOpenColorIO.NegativeStyleFromString(str: str) PyOpenColorIO.PyOpenColorIO.NegativeStyle