Type Property


The processor's output pixel format.


class var outputFormat: CIFormat { get }


Override this class property if you want your processor's output to be in a specific 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.

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

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