Editar

Compartir a través de


IMPSImageAllocator Interface

Definition

Interface defining a factory that generates a MPSImage from a T:MetalPerformanceShaders.MTLCommandBuffer, a MPSImageDescriptor, and a MPSKernel.

[Foundation.Protocol(Name="MPSImageAllocator", WrapperType=typeof(MetalPerformanceShaders.MPSImageAllocatorWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IMPSImageAllocator : Foundation.INSSecureCoding, IDisposable
type IMPSImageAllocator = interface
    interface INativeObject
    interface IDisposable
    interface INSCoding
    interface INSSecureCoding
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

EncodeTo(NSCoder)

Serializes this to the .

(Inherited from INSCoding)
GetImage(IMTLCommandBuffer, MPSImageDescriptor, MPSKernel)

Extension Methods

GetImageBatch(IMPSImageAllocator, IMTLCommandBuffer, MPSImageDescriptor, MPSKernel, nuint)

Applies to