Contents

cacheIntermediates

A Boolean value to control how a Core Image context caches the contents of any intermediate image buffers it uses during rendering.

Declaration

static let cacheIntermediates: CIContextOption

Discussion

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.

See Also

Type Properties