Language

ICIImageProcessorOutput.GetTemporarySurface メソッド

定義

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

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

パラメーター

identifier
String

プロセッサの呼び出し中に一時的なサーフェスを一意に識別する名前。

format
CVPixelFormatType

サーフェスのピクセル形式。

width
UIntPtr

unativeint

サーフェスの幅 (ピクセル単位)。

height
UIntPtr

unativeint

サーフェスの高さ (ピクセル単位)。

戻り値

一時的なサーフェス。作成できなかった場合は null 。

属性

注釈

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

適用対象