pub enum Transform {
Show 23 variants
File(FileTransform),
CDL(CDLTransform),
Exponent(ExponentTransform),
ExponentWithLinear(ExponentWithLinearTransform),
Matrix(MatrixTransform),
Log(LogTransform),
Range(RangeTransform),
Group(GroupTransform),
Builtin(BuiltinTransform),
FixedFunction(FixedFunctionTransform),
Lut1D(Lut1DTransform),
Lut3D(Lut3DTransform),
ExposureContrast(ExposureContrastTransform),
ColorSpace(ColorSpaceTransform),
Look(LookTransform),
DisplayView(DisplayViewTransform),
Allocation(AllocationTransform),
LogAffine(LogAffineTransform),
LogCamera(LogCameraTransform),
GradingPrimary(GradingPrimaryTransform),
GradingRGBCurve(GradingRGBCurveTransform),
GradingHueCurve(GradingHueCurveTransform),
GradingTone(GradingToneTransform),
}Variants§
File(FileTransform)
CDL(CDLTransform)
Exponent(ExponentTransform)
ExponentWithLinear(ExponentWithLinearTransform)
Matrix(MatrixTransform)
Log(LogTransform)
Range(RangeTransform)
Group(GroupTransform)
Builtin(BuiltinTransform)
FixedFunction(FixedFunctionTransform)
Lut1D(Lut1DTransform)
Lut3D(Lut3DTransform)
ExposureContrast(ExposureContrastTransform)
ColorSpace(ColorSpaceTransform)
Look(LookTransform)
DisplayView(DisplayViewTransform)
Allocation(AllocationTransform)
LogAffine(LogAffineTransform)
LogCamera(LogCameraTransform)
GradingPrimary(GradingPrimaryTransform)
GradingRGBCurve(GradingRGBCurveTransform)
GradingHueCurve(GradingHueCurveTransform)
Available on crate feature
v2_5 only.GradingTone(GradingToneTransform)
Trait Implementations§
Source§impl TransformHandle for Transform
impl TransformHandle for Transform
fn as_ptr(&self) -> *mut c_void
Source§fn diagnostic_text(&self) -> Result<String>
fn diagnostic_text(&self) -> Result<String>
Return OCIO’s diagnostic representation, which may include file paths.
This text is not a stable interchange format.
Source§fn try_type_tag(&self) -> Result<i32>
fn try_type_tag(&self) -> Result<i32>
Return the version-independent tag corresponding to
crate::TransformType.Source§fn try_set_direction(&mut self, direction: TransformDirection) -> Result<()>
fn try_set_direction(&mut self, direction: TransformDirection) -> Result<()>
Change the native evaluation direction without modifying the stored parameters.
Source§fn try_validate(&self) -> Result<()>
fn try_validate(&self) -> Result<()>
Validate the native transform without copying it or building a processor.
Source§fn try_create_editable_copy(&self) -> Result<Transform>
fn try_create_editable_copy(&self) -> Result<Transform>
Create a native editable copy, preserving the concrete transform type.
A copied group shares its children with the original. For an independent
built-in group graph, use
GroupTransform::create_deep_copy.Source§fn try_direction(&self) -> Result<TransformDirection>
fn try_direction(&self) -> Result<TransformDirection>
Query the native direction with validation, for any supported transform.
Auto Trait Implementations§
impl !Send for Transform
impl !Sync for Transform
impl Forget for Transform
impl Freeze for Transform
impl Move for Transform
impl RefUnwindSafe for Transform
impl Unpin for Transform
impl UnsafeUnpin for Transform
impl UnwindSafe for Transform
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more