MPSCnnGradientKernel.Encode Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
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
Paramètres
- commandBuffer
- IMTLCommandBuffer
- sourceGradient
- MPSImage
- sourceImage
- MPSImage
- gradientState
- MPSState
Retours
- Attributs
S’applique à
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
Paramètres
- commandBuffer
- IMTLCommandBuffer
- sourceGradient
- MPSImage
- sourceImage
- MPSImage
- gradientState
- MPSState
- destinationGradient
- MPSImage
- Attributs