The pixel buffer attributes required by the video compositor for new buffers created for processing.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
The property is required to provide a
k key in the dictionary, along with attributes for which the compositor needs specific values to work properly. Omitted attributes will be supplied by the composition engine to allow for the best performance. If the attribute
k key is not in the dictionary an exception will be raised. The value of the
k is an array of
k constants as defined in Pixel_Format_Types.
The value of
required is retrieved prior to the creation of a new render context; the combination of the attributes in the returned value and the additional attributes supplied by the composition engine will be used in the creation of subsequent render context's pixelBuffers.
This property is queried once before any composition request is sent to the compositor. Changing required buffer attributes afterwards is not supported.