pub unsafe static kCIContextCacheIntermediates: &'static CIContextOptionAvailable on crate feature
CIContext only.Expand description
A Boolean value to control how a Core Image context caches the contents of any intermediate image buffers it uses during rendering.
If a context caches intermediate buffers, then subsequent renders of a similar image using the same context may be able to render faster. If a context does not cache intermediate buffers, then it may use less memory.
If the value for this option is:
- True: The context will cache intermediate results for future renders using the same context.
- False: The context will not cache intermediate results.
- Not specified: the default behavior True.
Note:
- This option does affect how
/CIImage/imageByInsertingIntermediatebehaves.- This option does not affect how
/CIImage/imageByInsertingIntermediate:behaves.
See also Appleās documentation