ICIImageProcessorOutput.GetTemporarySurface 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 uma superfície temporária para uso como armazenamento de arranhões durante o processamento de imagens.
[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
Parâmetros
- identifier
- String
Um nome que identifica exclusivamente a superfície temporária durante a invocação do processador.
- format
- CVPixelFormatType
O formato de pixel para a superfície.
- width
-
UIntPtr
unativeint
A largura da superfície, em pixels.
- height
-
UIntPtr
unativeint
A altura da superfície, em pixels.
Retornos
Uma superfície temporária ou null se não foi possível criar.
- Atributos
Comentários
A superfície retornada é válida apenas pela duração da invocação atual do processador de imagem.