One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVVideoCompositionCoreAnimationTool.Configuration

struct · iOS 26.0+ · SDK 27.1

struct Configuration

Configurable properties for initializing a new AVVideoCompositionCoreAnimationTool instance.

Members (6)

get · iOS 26.0+

containingLayer

TypeScript
get containingLayer(): _QuartzCore_CALayer
Swift declaration
var containingLayer: CALayer

Containing layer to be rendered into, producing the final frame.

set · iOS 26.0+

containingLayer

TypeScript
set containingLayer(value: _QuartzCore_CALayer)
Swift declaration
var containingLayer: CALayer

Containing layer to be rendered into, producing the final frame.

init · iOS 26.0+

init

TypeScript
static initPostProcessingAsVideoLayerContainingLayer(layer: _QuartzCore_CALayer, containingLayer: _QuartzCore_CALayer): AVVideoCompositionCoreAnimationTool_Configuration
Swift declaration
init(postProcessingAsVideoLayer layer: CALayer, containingLayer: CALayer)

Place composited video frames in videoLayer and render animationLayer to produce the final frame. Normally videoLayer should be in animationLayer's sublayer tree. The animationLayer should not come from, or be added to, another layer tree. Be aware that on iOS, CALayers backing a UIView usually have their content flipped (as defined by the -contentsAreFlipped method). It may be required to insert a CALayer with its geometryFlipped property set to YES in the layer hierarchy to get the same result when attaching a CALayer to a AVVideoCompositionCoreAnimationTool as when using it to back a UIView.

init · iOS 26.0+

init

TypeScript
static initPostProcessingAsVideoLayersContainingLayer(layers: Array<_QuartzCore_CALayer>, containingLayer: _QuartzCore_CALayer): AVVideoCompositionCoreAnimationTool_Configuration
Swift declaration
init(postProcessingAsVideoLayers layers: [CALayer], containingLayer: CALayer)

Duplicate the composited video frames in each videoLayer and render animationLayer to produce the final frame. Normally videoLayers should be in animationLayer's sublayer tree. The animationLayer should not come from, or be added to, another layer tree. Be aware that on iOS, CALayers backing a UIView usually have their content flipped (as defined by the -contentsAreFlipped method). It may be required to insert a CALayer with its geometryFlipped property set to YES in the layer hierarchy to get the same result when attaching a CALayer to a AVVideoCompositionCoreAnimationTool as when using it to back a UIView.

get · iOS 26.0+

layers

TypeScript
get layers(): Array<_QuartzCore_CALayer>
Swift declaration
var layers: [CALayer]

Layer(s) to contain the composited video frames. Frames are duplicated if there is more than one layer.

set · iOS 26.0+

layers

TypeScript
set layers(value: Array<_QuartzCore_CALayer>)
Swift declaration
var layers: [CALayer]

Layer(s) to contain the composited video frames. Frames are duplicated if there is more than one layer.

Skipped declarations

No declarations were skipped in this snapshot.

All AVFoundation types →