Instance Property


A Boolean value that indicates whether post processing is required for the video composition instruction.


var enablePostProcessing: Bool { get set }


If no post processing is required for the whole duration of the video composition instruction, set this property to false to make the composition process more efficient.

The value is true by default.

See Also

Configuring the Instructions

var backgroundColor: CGColor?

The background color of the composition.

var layerInstructions: [AVVideoCompositionLayerInstruction]

An array of instances of AVVideoCompositionLayerInstruction that specify how video frames from source tracks should be layered and composed.

var timeRange: CMTimeRange

The time range during which the instruction is effective.