The size at which the video composition should render.
SDKs
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- AVFoundation
Declaration
var renderSize: CGSize { get }
The size at which the video composition should render.
SDKs
Framework
var renderSize: CGSize { get }
var frame Duration: CMTime
A time interval for which the video composition should render composed video frames.
var render Scale: Float
The scale at which the video composition should render.
var instructions: [AVVideo Composition Instruction Protocol]
The video composition instructions.
protocol AVVideo Composition Instruction Protocol
Methods you can implement to represent operations to be performed by a compositor.
var animation Tool: AVVideo Composition Core Animation Tool?
A video composition tool to use with Core Animation in offline rendering.
var custom Video Compositor Class: AVVideo Compositing .Type?
A custom compositor class to use.
var source Track IDFor Frame Timing: CMPersistent Track ID
A value that indicates whether frame timing for the video composition is derived from the source's asset track.
var color Primaries: String?
The color primaries used for video composition.
var color Transfer Function: String?
The transfer function used for video composition.
var color YCb Cr Matrix: String?
The YCbCr matrix used for video composition.