MPSCnnBinaryKernel.EncodeToCommandBuffer Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
EncodeToCommandBuffer(IMTLCommandBuffer, MPSImage, MPSImage)
[Foundation.Export("encodeToCommandBuffer:primaryImage:secondaryImage:")]
public virtual MetalPerformanceShaders.MPSImage EncodeToCommandBuffer (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage primaryImage, MetalPerformanceShaders.MPSImage secondaryImage);
abstract member EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSImage -> MetalPerformanceShaders.MPSImage
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSImage -> MetalPerformanceShaders.MPSImage
Параметры
- commandBuffer
- IMTLCommandBuffer
- primaryImage
- MPSImage
- secondaryImage
- MPSImage
Возвращаемое значение
- Атрибуты
Применяется к
EncodeToCommandBuffer(IMTLCommandBuffer, MPSImage, MPSImage, MPSImage)
[Foundation.Export("encodeToCommandBuffer:primaryImage:secondaryImage:destinationImage:")]
public virtual void EncodeToCommandBuffer (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage primaryImage, MetalPerformanceShaders.MPSImage secondaryImage, MetalPerformanceShaders.MPSImage destinationImage);
abstract member EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSImage -> unit
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSImage -> unit
Параметры
- commandBuffer
- IMTLCommandBuffer
- primaryImage
- MPSImage
- secondaryImage
- MPSImage
- destinationImage
- MPSImage
- Атрибуты
Применяется к
EncodeToCommandBuffer(IMTLCommandBuffer, MPSImage, MPSImage, MPSState, Boolean)
[Foundation.Export("encodeToCommandBuffer:primaryImage:secondaryImage:destinationState:destinationStateIsTemporary:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual MetalPerformanceShaders.MPSImage EncodeToCommandBuffer (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSImage primaryImage, MetalPerformanceShaders.MPSImage secondaryImage, out MetalPerformanceShaders.MPSState outState, bool isTemporary);
abstract member EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSImage * * bool -> MetalPerformanceShaders.MPSImage
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSImage * MetalPerformanceShaders.MPSImage * * bool -> MetalPerformanceShaders.MPSImage
Параметры
- commandBuffer
- IMTLCommandBuffer
- primaryImage
- MPSImage
- secondaryImage
- MPSImage
- outState
- MPSState
- isTemporary
- Boolean
Возвращаемое значение
- Атрибуты