Język

ICIImageProcessorOutput.GetTemporaryPixelBuffer Metoda

Definicja

Pobiera tymczasowy bufor pikseli do użycia jako magazyn tymczasowy podczas przetwarzania obrazów.

[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

Parametry

identifier
String

Nazwa, która jednoznacznie identyfikuje tymczasowy bufor pikseli podczas wywołania procesora.

format
CVPixelFormatType

Format pikseli dla buforu pikseli.

width
UIntPtr

unativeint

Szerokość buforu pikseli w pikselach.

height
UIntPtr

unativeint

Wysokość buforu pikseli w pikselach.

attributes
NSDictionary

Opcjonalne atrybuty tworzenia buforu pikseli.

Zwraca

Tymczasowy bufor pikseli lub null jeśli nie można go utworzyć.

Atrybuty

Uwagi

Zwrócony bufor pikseli jest prawidłowy tylko przez czas trwania wywołania bieżącego procesora obrazów.

Dotyczy