pub struct DisplayViewTransform { /* private fields */ }Expand description
Converts through an OCIO display/view pipeline.
Implementations§
Source§impl DisplayViewTransform
impl DisplayViewTransform
Sourcepub fn looks_bypass(&self) -> bool
pub fn looks_bypass(&self) -> bool
Return whether looks bypass is enabled.
Sourcepub fn set_looks_bypass(&self, bypass: bool)
pub fn set_looks_bypass(&self, bypass: bool)
Set looks bypass behavior, panicking on validation error.
Sourcepub fn try_set_looks_bypass(&self, bypass: bool) -> Result<()>
pub fn try_set_looks_bypass(&self, bypass: bool) -> Result<()>
Set looks bypass behavior and surface any OCIO validation error.
Sourcepub fn direction(&self) -> TransformDirection
pub fn direction(&self) -> TransformDirection
Return the evaluation direction.
Sourcepub fn set_direction(&self, direction: TransformDirection)
pub fn set_direction(&self, direction: TransformDirection)
Set the evaluation direction, panicking on validation error.
Sourcepub fn try_set_direction(&self, direction: TransformDirection) -> Result<()>
pub fn try_set_direction(&self, direction: TransformDirection) -> Result<()>
Set evaluation direction and surface any OCIO validation error.
Sourcepub fn data_bypass(&self) -> bool
pub fn data_bypass(&self) -> bool
Return whether data channel bypass is enabled.
Sourcepub fn set_data_bypass(&self, bypass: bool)
pub fn set_data_bypass(&self, bypass: bool)
Set data bypass behavior, panicking on validation error.
Sourcepub fn try_set_data_bypass(&self, bypass: bool) -> Result<()>
pub fn try_set_data_bypass(&self, bypass: bool) -> Result<()>
Set data bypass behavior and surface any OCIO validation error.
Sourcepub fn create_editable_copy(&self) -> Result<Self>
pub fn create_editable_copy(&self) -> Result<Self>
Create an editable copy that is independent from the original transform.
Sourcepub fn format_metadata(&self) -> Option<FormatMetadata>
pub fn format_metadata(&self) -> Option<FormatMetadata>
Return format metadata attached to the transform, when available.
Trait Implementations§
Source§impl Drop for DisplayViewTransform
impl Drop for DisplayViewTransform
Source§impl TransformHandle for DisplayViewTransform
impl TransformHandle for DisplayViewTransform
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 DisplayViewTransform
impl !Sync for DisplayViewTransform
impl Forget for DisplayViewTransform
impl Freeze for DisplayViewTransform
impl Move for DisplayViewTransform
impl RefUnwindSafe for DisplayViewTransform
impl Unpin for DisplayViewTransform
impl UnsafeUnpin for DisplayViewTransform
impl UnwindSafe for DisplayViewTransform
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