MPSCnnGradientKernel.Encode Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
Encode(IMTLCommandBuffer, MPSImage, MPSImage, MPSState) | |
Encode(IMTLCommandBuffer, MPSImage, MPSImage, MPSState, MPSImage) |
Encode(IMTLCommandBuffer, MPSImage, MPSImage, MPSState)
[Foundation.Export("encodeToCommandBuffer:sourceGradient:sourceImage:gradientState:")]
public virtual MetalPerformanceShaders.MPSImage Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage sourceGradient, MetalPerformanceShaders.MPSImage sourceImage, MetalPerformanceShaders.MPSState gradientState);
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSState -> MetalPerformanceShaders.MPSImage
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSState -> MetalPerformanceShaders.MPSImage
Parámetros
- commandBuffer
- IMTLCommandBuffer
- sourceGradient
- MPSImage
- sourceImage
- MPSImage
- gradientState
- MPSState
Devoluciones
- Atributos
Se aplica a
Encode(IMTLCommandBuffer, MPSImage, MPSImage, MPSState, MPSImage)
[Foundation.Export("encodeToCommandBuffer:sourceGradient:sourceImage:gradientState:destinationGradient:")]
public virtual void Encode (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage sourceGradient, MetalPerformanceShaders.MPSImage sourceImage, MetalPerformanceShaders.MPSState gradientState, MetalPerformanceShaders.MPSImage destinationGradient);
abstract member Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSState * MetalPerformanceShaders.MPSImage -> unit
override this.Encode : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSState * MetalPerformanceShaders.MPSImage -> unit
Parámetros
- commandBuffer
- IMTLCommandBuffer
- sourceGradient
- MPSImage
- sourceImage
- MPSImage
- gradientState
- MPSState
- destinationGradient
- MPSImage
- Atributos