Instance Property

metalCommandBuffer

A command buffer to use for image processing using Metal.

Required.

Declaration

var metalCommandBuffer: MTLCommandBuffer? { get }

Discussion

If you perform image processing with a Metal shader (and write output to the metalTexture property), encode your render or compute commands to this buffer. Core Image uses the same command buffer to render other effects that precede or follow your processor in a filter chain.

See Also

Getting Supplemental Information for Image Processing

var region: CGRect

The rectangular region of the output image that your processor must provide.

Required.

var bytesPerRow: Int

The number of bytes per row of pixels for the output image.

Required.

var format: CIFormat

The per-pixel data format expected of the output image.

Required.

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