pub unsafe static kCIContextWorkingFormat: &'static CIContextOptionAvailable on crate feature
CIContext only.Expand description
A Core Image context option key to specify the pixel format to for intermediate results when rendering.
The value for this key is an NSNumber instance containing a CIFormat value.
The supported values for the working pixel format are:
CIFormat | Notes
—————–– | –––––––
kCIFormatRGBA8 | Uses less memory but has less precision an range
kCIFormatRGBAh | Uses 8 bytes per pixel, supports HDR
kCIFormatRGBAf | Only on macOS
If this option is not specified, then the default is kCIFormatRGBAh.
(The default is kCIFormatRGBA8 if your if app is linked against iOS 12 SDK or earlier.)
See also Apple’s documentation