ICIImageProcessorOutput.GetTemporaryPixelBuffer Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene un buffer di pixel temporaneo da usare come spazio di archiviazione scratch durante l'elaborazione delle immagini.
[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
Parametri
- identifier
- String
Nome che identifica in modo univoco il buffer di pixel temporaneo durante la chiamata del processore.
- format
- CVPixelFormatType
Formato pixel per il buffer pixel.
- width
-
UIntPtr
unativeint
Larghezza del buffer pixel, in pixel.
- height
-
UIntPtr
unativeint
Altezza del buffer pixel, in pixel.
- attributes
- NSDictionary
Attributi di creazione del buffer pixel facoltativi.
Valori restituiti
Buffer di pixel temporaneo o null se non è stato possibile crearne uno.
- Attributi
Commenti
Il buffer pixel restituito è valido solo per la durata della chiamata del processore di immagini corrente.