One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVVideoCompositionInstruction.Configuration

struct · iOS 26.0+ · SDK 27.1

struct Configuration

Configurable properties for initializing a new AVVideoCompositionInstruction instance.

Members (11)

init · iOS 26.0+

init

TypeScript
static init(backgroundColor?: (_CoreGraphics_CGColor) | null, enablePostProcessing?: boolean, layerInstructions?: Array<AVVideoCompositionLayerInstruction>, requiredSourceSampleDataTrackIDs?: Array<number>, timeRange?: _CoreMedia_CMTimeRange): AVVideoCompositionInstruction_Configuration
Swift declaration
init(backgroundColor: CGColor? = nil, enablePostProcessing: Bool = true, layerInstructions: [AVVideoCompositionLayerInstruction] = [], requiredSourceSampleDataTrackIDs: [CMPersistentTrackID] = [], timeRange: CMTimeRange = .zero)
get · iOS 26.0+

backgroundColor

TypeScript
get backgroundColor(): (_CoreGraphics_CGColor) | null
Swift declaration
var backgroundColor: CGColor?

The background color of the composition.

set · iOS 26.0+

backgroundColor

TypeScript
set backgroundColor(value: (_CoreGraphics_CGColor) | null)
Swift declaration
var backgroundColor: CGColor?

The background color of the composition.

get · iOS 26.0+

layerInstructions

TypeScript
get layerInstructions(): Array<AVVideoCompositionLayerInstruction>
Swift declaration
var layerInstructions: [AVVideoCompositionLayerInstruction] { get set }

Instructions that specify how to layer and compose video frames from source tracks.

set · iOS 26.0+

layerInstructions

TypeScript
set layerInstructions(value: Array<AVVideoCompositionLayerInstruction>)
Swift declaration
var layerInstructions: [AVVideoCompositionLayerInstruction] { get set }

Instructions that specify how to layer and compose video frames from source tracks.

get · iOS 26.0+

enablePostProcessing

TypeScript
get enablePostProcessing(): boolean
Swift declaration
var enablePostProcessing: Bool

A Boolean value that indicates whether the composition enables post-processing.

set · iOS 26.0+

enablePostProcessing

TypeScript
set enablePostProcessing(value: boolean)
Swift declaration
var enablePostProcessing: Bool

A Boolean value that indicates whether the composition enables post-processing.

get · iOS 26.0+

requiredSourceSampleDataTrackIDs

TypeScript
get requiredSourceSampleDataTrackIDs(): Array<number>
Swift declaration
var requiredSourceSampleDataTrackIDs: [CMPersistentTrackID]

The identifiers of source sample data tracks that the compositor requires to compose frames for the instruction.

set · iOS 26.0+

requiredSourceSampleDataTrackIDs

TypeScript
set requiredSourceSampleDataTrackIDs(value: Array<number>)
Swift declaration
var requiredSourceSampleDataTrackIDs: [CMPersistentTrackID]

The identifiers of source sample data tracks that the compositor requires to compose frames for the instruction.

get · iOS 26.0+

timeRange

TypeScript
get timeRange(): _CoreMedia_CMTimeRange
Swift declaration
var timeRange: CMTimeRange

The time range to which the instruction applies.

set · iOS 26.0+

timeRange

TypeScript
set timeRange(value: _CoreMedia_CMTimeRange)
Swift declaration
var timeRange: CMTimeRange

The time range to which the instruction applies.

Skipped declarations

No declarations were skipped in this snapshot.

All AVFoundation types →