ICIImageProcessorOutput.GetTemporarySurface 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 una superficie temporanea da utilizzare come spazio di archiviazione scratch durante l'elaborazione delle immagini.
[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
Parametri
- identifier
- String
Nome che identifica in modo univoco la superficie temporanea durante la chiamata al processore.
- format
- CVPixelFormatType
Formato pixel per la superficie.
- width
-
UIntPtr
unativeint
Larghezza della superficie, espressa in pixel.
- height
-
UIntPtr
unativeint
Altezza della superficie, in pixel.
Valori restituiti
Superficie temporanea o null se non è stato possibile crearne uno.
- Attributi
Commenti
La superficie restituita è valida solo per la durata della chiamata del processore di immagini corrente.