Type Property


An option for the color format to use for intermediate results when rendering with the context.


static let workingFormat: CIContextOption


The value for this key is an NSNumber object containing a CIFormat value. The default working format is RGBA8 for CPU rendering and RGBAf for GPU rendering. For greater color precision, GPU rendering also supports the RGBAh format, but this format requires twice as much memory and can be used only with color management enabled.

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