AVAssetWriterInputPixelBufferAdaptor.FromInput 方法

定义

使用指定的 inputsourcePixelBufferAttributes创建 的AVAssetWriterInputPixelBufferAdaptor工厂方法。

[Foundation.Advice("Use 'Create' method.")]
[Foundation.Export("assetWriterInputPixelBufferAdaptorWithAssetWriterInput:sourcePixelBufferAttributes:")]
public static AVFoundation.AVAssetWriterInputPixelBufferAdaptor FromInput (AVFoundation.AVAssetWriterInput input, Foundation.NSDictionary sourcePixelBufferAttributes);
static member FromInput : AVFoundation.AVAssetWriterInput * Foundation.NSDictionary -> AVFoundation.AVAssetWriterInputPixelBufferAdaptor

参数

sourcePixelBufferAttributes
NSDictionary

字典应包含使用 类中的 CVPixelBuffer 键的配置信息。

此参数可以为 null

返回

属性

适用于