共用方式為


AVAssetWriterInputPixelBufferAdaptor.FromInput 方法

定義

使用指定的 inputsourcePixelBufferAttributes 建立 AVAssetWriterInputPixelBufferAdaptor 的 Factory 方法。

[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

傳回

屬性

適用於