Type Method


Method to override for returning the image processing kernel's input pixel format.


class func formatForInput(at input: Int32) -> CIFormat



Index of this image processor in a multi-step workflow.

Return Value

Core Image pixel format CIFormat constant revealing the processor's input pixel format.


Override this method and the outputFormat property getter to customize your processor's input and output pixel format.

The format must be one of CIFormat: BGRA8, RGBAh, RGBAf, or R8. If the outputFormat is 0, then the output will be a supported format that best matches the rendering context's workingFormat.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software