CIToneMapHeadroom

Trait CIToneMapHeadroom 

Source
pub unsafe trait CIToneMapHeadroom: CIFilterProtocol {
    // Provided methods
    unsafe fn inputImage(&self) -> Option<Retained<CIImage>>
       where Self: Sized + Message { ... }
    unsafe fn setInputImage(&self, input_image: Option<&CIImage>)
       where Self: Sized + Message { ... }
    unsafe fn sourceHeadroom(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setSourceHeadroom(&self, source_headroom: c_float)
       where Self: Sized + Message { ... }
    unsafe fn targetHeadroom(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setTargetHeadroom(&self, target_headroom: c_float)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Tone Map Headroom filter.

Apply a global tone curve to an image that reduces colors from a source headroom value to a target headroom value.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn inputImage(&self) -> Option<Retained<CIImage>>
where Self: Sized + Message,

Available on crate feature CIImage only.

Specifies input image with an optional content headroom property.

Source

unsafe fn setInputImage(&self, input_image: Option<&CIImage>)
where Self: Sized + Message,

Available on crate feature CIImage only.

Setter for inputImage.

Source

unsafe fn sourceHeadroom(&self) -> c_float
where Self: Sized + Message,

If non-nil, this overrides the headroom property of the input image.

Source

unsafe fn setSourceHeadroom(&self, source_headroom: c_float)
where Self: Sized + Message,

Setter for sourceHeadroom.

Source

unsafe fn targetHeadroom(&self) -> c_float
where Self: Sized + Message,

Specifies the target headroom of the output image.

Source

unsafe fn setTargetHeadroom(&self, target_headroom: c_float)
where Self: Sized + Message,

Setter for targetHeadroom.

Trait Implementations§

Source§

impl ProtocolType for dyn CIToneMapHeadroom

Source§

const NAME: &'static str = "CIToneMapHeadroom"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn CIToneMapHeadroom

Implementations on Foreign Types§

Source§

impl<T> CIToneMapHeadroom for ProtocolObject<T>

Implementors§