Contents

ciContext

An option key to specify the context to use in the handler’s Core Image operations.

Declaration

static let ciContext: VNImageOption

Discussion

If this key isn’t specified, Vision will create its own CIContext.

Specify a CIContext when you’ve used one in processing an input CIImage or executing a CIFilter chain, so you can save the cost of creating a new context.

See Also

Options Dictionary Keys