Język

ICIImageProcessorOutput.GetTemporarySurface Metoda

Definicja

Pobiera tymczasową powierzchnię do użycia jako magazyn tymczasowy podczas przetwarzania obrazów.

[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

Parametry

identifier
String

Nazwa, która jednoznacznie identyfikuje powierzchnię tymczasową podczas wywołania procesora.

format
CVPixelFormatType

Format pikseli powierzchni.

width
UIntPtr

unativeint

Szerokość powierzchni w pikselach.

height
UIntPtr

unativeint

Wysokość powierzchni w pikselach.

Zwraca

Tymczasowa powierzchnia lub null jeśli nie można go utworzyć.

Atrybuty

Uwagi

Zwrócona powierzchnia jest prawidłowa tylko przez czas trwania wywołania bieżącego procesora obrazów.

Dotyczy