Sprache

ICIImageProcessorOutput.GetTemporarySurface Methode

Definition

Ruft eine temporäre Oberfläche für die Verwendung als Kratzspeicher während der Bildverarbeitung ab.

[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

Parameter

identifier
String

Ein Name, der die temporäre Oberfläche während des Prozessoraufrufs eindeutig identifiziert.

format
CVPixelFormatType

Das Pixelformat für die Oberfläche.

width
UIntPtr

unativeint

Die Breite der Oberfläche in Pixel.

height
UIntPtr

unativeint

Die Höhe der Oberfläche in Pixeln.

Gibt zurück

Eine temporäre Oberfläche oder null wenn eine nicht erstellt werden konnte.

Attribute

Hinweise

Die zurückgegebene Oberfläche ist nur für die Dauer des Aufrufs des aktuellen Bildprozessors gültig.

Gilt für: