ICIImageProcessorOutput.GetTemporaryPixelBuffer Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft einen temporären Pixelpuffer für die Verwendung als Scratch Storage während der Bildverarbeitung ab.
[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
Parameter
- identifier
- String
Ein Name, der den temporären Pixelpuffer während des Prozessoraufrufs eindeutig identifiziert.
- format
- CVPixelFormatType
Das Pixelformat für den Pixelpuffer.
- width
-
UIntPtr
unativeint
Die Breite des Pixelpuffers in Pixeln.
- height
-
UIntPtr
unativeint
Die Höhe des Pixelpuffers in Pixeln.
- attributes
- NSDictionary
Optionale Pixelpuffererstellungsattribute.
Gibt zurück
Ein temporärer Pixelpuffer oder null ein temporärer Pixelpuffer konnte nicht erstellt werden.
- Attribute
Hinweise
Der zurückgegebene Pixelpuffer ist nur für die Dauer des aufrufs des aktuellen Bildprozessors gültig.