[][src]Trait uikit_sys::ICIContext

pub trait ICIContext: Sized + Deref {
    unsafe fn initWithOptions_(self, options: NSDictionary) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn init(self) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawImage_atPoint_fromRect_(
        self,
        image: CIImage,
        atPoint: CGPoint,
        fromRect: CGRect
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn drawImage_inRect_fromRect_(
        self,
        image: CIImage,
        inRect: CGRect,
        fromRect: CGRect
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn createCGLayerWithSize_info_(
        self,
        size: CGSize,
        info: CFDictionaryRef
    ) -> CGLayerRef
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn render_toBitmap_rowBytes_bounds_format_colorSpace_(
        self,
        image: CIImage,
        data: *mut c_void,
        rowBytes: isize,
        bounds: CGRect,
        format: CIFormat,
        colorSpace: CGColorSpaceRef
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn render_toIOSurface_bounds_colorSpace_(
        self,
        image: CIImage,
        surface: IOSurfaceRef,
        bounds: CGRect,
        colorSpace: CGColorSpaceRef
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn render_toCVPixelBuffer_(
        self,
        image: CIImage,
        buffer: CVPixelBufferRef
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn render_toCVPixelBuffer_bounds_colorSpace_(
        self,
        image: CIImage,
        buffer: CVPixelBufferRef,
        bounds: CGRect,
        colorSpace: CGColorSpaceRef
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn render_toMTLTexture_commandBuffer_bounds_colorSpace_(
        self,
        image: CIImage,
        texture: *mut u64,
        commandBuffer: *mut u64,
        bounds: CGRect,
        colorSpace: CGColorSpaceRef
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn reclaimResources(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn clearCaches(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn inputImageMaximumSize(self) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn outputImageMaximumSize(self) -> CGSize
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn workingColorSpace(self) -> CGColorSpaceRef
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn workingFormat(self) -> CIFormat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contextWithCGContext_options_(
        cgctx: CGContextRef,
        options: NSDictionary
    ) -> CIContext
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contextWithOptions_(options: NSDictionary) -> CIContext
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn context() -> CIContext
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contextWithEAGLContext_(eaglContext: EAGLContext) -> CIContext
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contextWithEAGLContext_options_(
        eaglContext: EAGLContext,
        options: NSDictionary
    ) -> CIContext
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contextWithMTLDevice_(device: *mut u64) -> CIContext
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contextWithMTLDevice_options_(
        device: *mut u64,
        options: NSDictionary
    ) -> CIContext
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contextWithMTLCommandQueue_(commandQueue: *mut u64) -> CIContext
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contextWithMTLCommandQueue_options_(
        commandQueue: *mut u64,
        options: NSDictionary
    ) -> CIContext
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithOptions_(self, options: NSDictionary) -> instancetype where
    Self::Target: Message + Sized

unsafe fn init(self) -> instancetype where
    Self::Target: Message + Sized

unsafe fn drawImage_atPoint_fromRect_(
    self,
    image: CIImage,
    atPoint: CGPoint,
    fromRect: CGRect
) where
    Self::Target: Message + Sized

unsafe fn drawImage_inRect_fromRect_(
    self,
    image: CIImage,
    inRect: CGRect,
    fromRect: CGRect
) where
    Self::Target: Message + Sized

unsafe fn createCGLayerWithSize_info_(
    self,
    size: CGSize,
    info: CFDictionaryRef
) -> CGLayerRef where
    Self::Target: Message + Sized

unsafe fn render_toBitmap_rowBytes_bounds_format_colorSpace_(
    self,
    image: CIImage,
    data: *mut c_void,
    rowBytes: isize,
    bounds: CGRect,
    format: CIFormat,
    colorSpace: CGColorSpaceRef
) where
    Self::Target: Message + Sized

unsafe fn render_toIOSurface_bounds_colorSpace_(
    self,
    image: CIImage,
    surface: IOSurfaceRef,
    bounds: CGRect,
    colorSpace: CGColorSpaceRef
) where
    Self::Target: Message + Sized

unsafe fn render_toCVPixelBuffer_(
    self,
    image: CIImage,
    buffer: CVPixelBufferRef
) where
    Self::Target: Message + Sized

unsafe fn render_toCVPixelBuffer_bounds_colorSpace_(
    self,
    image: CIImage,
    buffer: CVPixelBufferRef,
    bounds: CGRect,
    colorSpace: CGColorSpaceRef
) where
    Self::Target: Message + Sized

unsafe fn render_toMTLTexture_commandBuffer_bounds_colorSpace_(
    self,
    image: CIImage,
    texture: *mut u64,
    commandBuffer: *mut u64,
    bounds: CGRect,
    colorSpace: CGColorSpaceRef
) where
    Self::Target: Message + Sized

unsafe fn reclaimResources(self) where
    Self::Target: Message + Sized

unsafe fn clearCaches(self) where
    Self::Target: Message + Sized

unsafe fn inputImageMaximumSize(self) -> CGSize where
    Self::Target: Message + Sized

unsafe fn outputImageMaximumSize(self) -> CGSize where
    Self::Target: Message + Sized

unsafe fn workingColorSpace(self) -> CGColorSpaceRef where
    Self::Target: Message + Sized

unsafe fn workingFormat(self) -> CIFormat where
    Self::Target: Message + Sized

unsafe fn contextWithCGContext_options_(
    cgctx: CGContextRef,
    options: NSDictionary
) -> CIContext where
    Self::Target: Message + Sized

unsafe fn contextWithOptions_(options: NSDictionary) -> CIContext where
    Self::Target: Message + Sized

unsafe fn context() -> CIContext where
    Self::Target: Message + Sized

unsafe fn contextWithEAGLContext_(eaglContext: EAGLContext) -> CIContext where
    Self::Target: Message + Sized

unsafe fn contextWithEAGLContext_options_(
    eaglContext: EAGLContext,
    options: NSDictionary
) -> CIContext where
    Self::Target: Message + Sized

unsafe fn contextWithMTLDevice_(device: *mut u64) -> CIContext where
    Self::Target: Message + Sized

unsafe fn contextWithMTLDevice_options_(
    device: *mut u64,
    options: NSDictionary
) -> CIContext where
    Self::Target: Message + Sized

unsafe fn contextWithMTLCommandQueue_(commandQueue: *mut u64) -> CIContext where
    Self::Target: Message + Sized

unsafe fn contextWithMTLCommandQueue_options_(
    commandQueue: *mut u64,
    options: NSDictionary
) -> CIContext where
    Self::Target: Message + Sized

Loading content...

Implementors

impl ICIContext for CIContext[src]

Loading content...