Lingua

ICIImageProcessorOutput.GetTemporarySurface Metodo

Definizione

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.

Si applica a