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
TypeScriptstatic init(backgroundColor?: (_CoreGraphics_CGColor) | null, enablePostProcessing?: boolean, layerInstructions?: Array<AVVideoCompositionLayerInstruction>, requiredSourceSampleDataTrackIDs?: Array<number>, timeRange?: _CoreMedia_CMTimeRange): AVVideoCompositionInstruction_Configuration
Swift declarationinit(backgroundColor: CGColor? = nil, enablePostProcessing: Bool = true, layerInstructions: [AVVideoCompositionLayerInstruction] = [], requiredSourceSampleDataTrackIDs: [CMPersistentTrackID] = [], timeRange: CMTimeRange = .zero)
get · iOS 26.0+backgroundColor
TypeScriptget backgroundColor(): (_CoreGraphics_CGColor) | null
Swift declarationvar backgroundColor: CGColor?
The background color of the composition.
set · iOS 26.0+backgroundColor
TypeScriptset backgroundColor(value: (_CoreGraphics_CGColor) | null)
Swift declarationvar backgroundColor: CGColor?
The background color of the composition.
get · iOS 26.0+layerInstructions
TypeScriptget layerInstructions(): Array<AVVideoCompositionLayerInstruction>
Swift declarationvar layerInstructions: [AVVideoCompositionLayerInstruction] { get set }
Instructions that specify how to layer and compose video frames from source tracks.
set · iOS 26.0+layerInstructions
TypeScriptset layerInstructions(value: Array<AVVideoCompositionLayerInstruction>)
Swift declarationvar layerInstructions: [AVVideoCompositionLayerInstruction] { get set }
Instructions that specify how to layer and compose video frames from source tracks.
get · iOS 26.0+enablePostProcessing
TypeScriptget enablePostProcessing(): boolean
Swift declarationvar enablePostProcessing: Bool
A Boolean value that indicates whether the composition enables post-processing.
set · iOS 26.0+enablePostProcessing
TypeScriptset enablePostProcessing(value: boolean)
Swift declarationvar enablePostProcessing: Bool
A Boolean value that indicates whether the composition enables post-processing.
get · iOS 26.0+requiredSourceSampleDataTrackIDs
TypeScriptget requiredSourceSampleDataTrackIDs(): Array<number>
Swift declarationvar requiredSourceSampleDataTrackIDs: [CMPersistentTrackID]
The identifiers of source sample data tracks that the compositor requires to compose frames for the instruction.
set · iOS 26.0+requiredSourceSampleDataTrackIDs
TypeScriptset requiredSourceSampleDataTrackIDs(value: Array<number>)
Swift declarationvar requiredSourceSampleDataTrackIDs: [CMPersistentTrackID]
The identifiers of source sample data tracks that the compositor requires to compose frames for the instruction.
get · iOS 26.0+timeRange
TypeScriptget timeRange(): _CoreMedia_CMTimeRange
Swift declarationvar timeRange: CMTimeRange
The time range to which the instruction applies.
set · iOS 26.0+timeRange
TypeScriptset timeRange(value: _CoreMedia_CMTimeRange)
Swift declarationvar timeRange: CMTimeRange
The time range to which the instruction applies.
Skipped declarations
No declarations were skipped in this snapshot.
All AVFoundation types →