Contents

CIRenderDestination

A specification for configuring all attributes of a render task’s destination and issuing asynchronous render tasks.

Declaration

class CIRenderDestination

Overview

The CIRenderDestination 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 CIContext.

You can create a CIRenderDestination 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 CIRenderDestination object between renders.

Renders issued to a CIRenderDestination 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 CIRenderTask will return immediately.

Topics

Creating a Render Destination

Customizing Rendering

Initializers

Instance Properties

See Also

Custom Render Destination