Language

ICIImageProcessorOutput.GetTemporaryPixelBuffer メソッド

定義

画像処理中にスクラッチ ストレージとして使用する一時的なピクセル バッファーを取得します。

[Foundation.Export("temporaryPixelBufferWithIdentifier:format:width:height:attributes:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreVideo.CVPixelBuffer? GetTemporaryPixelBuffer(string identifier, CoreVideo.CVPixelFormatType format, UIntPtr width, UIntPtr height, Foundation.NSDictionary? attributes);
[<Foundation.Export("temporaryPixelBufferWithIdentifier:format:width:height:attributes:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTemporaryPixelBuffer : string * CoreVideo.CVPixelFormatType * unativeint * unativeint * Foundation.NSDictionary -> CoreVideo.CVPixelBuffer
override this.GetTemporaryPixelBuffer : string * CoreVideo.CVPixelFormatType * unativeint * unativeint * Foundation.NSDictionary -> CoreVideo.CVPixelBuffer

パラメーター

identifier
String

プロセッサの呼び出し中に一時ピクセル バッファーを一意に識別する名前。

format
CVPixelFormatType

ピクセル バッファーのピクセル形式。

width
UIntPtr

unativeint

ピクセル バッファーの幅 (ピクセル単位)。

height
UIntPtr

unativeint

ピクセル バッファーの高さ (ピクセル単位)。

attributes
NSDictionary

オプションのピクセル バッファー作成属性。

戻り値

一時的なピクセル バッファー。作成できなかった場合は null 。

属性

注釈

返されるピクセル バッファーは、現在のイメージ プロセッサ呼び出しの期間中のみ有効です。

適用対象