Type Property


The processor's output pixel format.


@property(class, readonly) CIFormat outputFormat;


Override this class property if you want your processor's output to be in a specific CIFormat: kCIFormatBGRA8, kCIFormatRGBAh, kCIFormatRGBAf, or kCIFormatR8. If the outputFormat is 0, then the output will be a supported format that best matches the rendering context's workingFormat.

If a processor returns data in a colorspace other than the context working space, then call imageByColorMatchingColorSpaceToWorkingSpace: on the processor output.

If a processor returns data as alpha-unpremultiplied RGBA data, then call imageByPremultiplyingAlpha on the processor output.