ICIImageProcessorOutput.GetTemporaryPixelBuffer Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Obtém um buffer de pixel temporário para uso como armazenamento de zero durante o processamento de imagem.
[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
Parâmetros
- identifier
- String
Um nome que identifica exclusivamente o buffer de pixel temporário durante a invocação do processador.
- format
- CVPixelFormatType
O formato de pixel para o buffer de pixel.
- width
-
UIntPtr
unativeint
A largura do buffer de pixel, em pixels.
- height
-
UIntPtr
unativeint
A altura do buffer de pixel, em pixels.
- attributes
- NSDictionary
Atributos opcionais de criação do buffer de pixel.
Retornos
Um buffer de pixel temporário ou null se não foi possível criar.
- Atributos
Comentários
O buffer de pixel retornado é válido apenas pela duração da invocação do processador de imagem atual.