A specification for configuring all attributes of a render task's destination and issuing asynchronous render tasks.
- iOS 11.0+
- macOS 10.13+
- tvOS 11.0+
- Mac Catalyst 13.0+Beta
- Core Image
CIRender class provides an API for specifying a render task destination's properties, such as buffer format, alpha mode, clamping behavior, blending, and color space, properties formerly tied to
You can create a
CIRender object for each surface or buffer to which you must render. You can also render multiple times to a single destination with different settings such as colorspace and blend mode by mutating a single
CIRender object between renders.
Renders issued to a
CIRender return to the caller as soon as the CPU has issued the task, rather than after the GPU has performed the task, so you can start render tasks on subsequent frames without waiting for previous renders to finish. If the render fails, a
CIRender will return immediately.