Trait CIImageProcessorOutput

Source
pub unsafe trait CIImageProcessorOutput {
    // Provided methods
    unsafe fn region(&self) -> CGRect
       where Self: Sized + Message { ... }
    unsafe fn bytesPerRow(&self) -> usize
       where Self: Sized + Message { ... }
    unsafe fn format(&self) -> CIFormat
       where Self: Sized + Message { ... }
    unsafe fn baseAddress(&self) -> NonNull<c_void>
       where Self: Sized + Message { ... }
    unsafe fn surface(&self) -> Retained<IOSurfaceRef>
       where Self: Sized + Message { ... }
    unsafe fn pixelBuffer(&self) -> Option<Retained<CVPixelBuffer>>
       where Self: Sized + Message { ... }
    unsafe fn metalTexture(
        &self,
    ) -> Option<Retained<ProtocolObject<dyn MTLTexture>>>
       where Self: Sized + Message { ... }
    unsafe fn metalCommandBuffer(
        &self,
    ) -> Option<Retained<ProtocolObject<dyn MTLCommandBuffer>>>
       where Self: Sized + Message { ... }
    unsafe fn digest(&self) -> u64
       where Self: Sized + Message { ... }
}
Available on crate feature CIImageProcessor only.
Expand description

Provided Methods§

Source

unsafe fn region(&self) -> CGRect
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

unsafe fn bytesPerRow(&self) -> usize
where Self: Sized + Message,

Source

unsafe fn format(&self) -> CIFormat
where Self: Sized + Message,

Available on crate feature CIImage only.
Source

unsafe fn baseAddress(&self) -> NonNull<c_void>
where Self: Sized + Message,

Source

unsafe fn surface(&self) -> Retained<IOSurfaceRef>
where Self: Sized + Message,

Available on crate feature objc2-io-surface only.
Source

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

Available on crate feature objc2-core-video only.
Source

unsafe fn metalTexture( &self, ) -> Option<Retained<ProtocolObject<dyn MTLTexture>>>
where Self: Sized + Message,

Available on crate feature objc2-metal only.
Source

unsafe fn metalCommandBuffer( &self, ) -> Option<Retained<ProtocolObject<dyn MTLCommandBuffer>>>
where Self: Sized + Message,

Available on crate feature objc2-metal only.
Source

unsafe fn digest(&self) -> u64
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn CIImageProcessorOutput

Source§

const NAME: &'static str = "CIImageProcessorOutput"

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 CIImageProcessorOutput

Implementations on Foreign Types§

Source§

impl<T> CIImageProcessorOutput for ProtocolObject<T>

Implementors§