Share via


IMPSImageAllocator Interface

Definition

Interface defining a factory that generates a MPSImage from a IMTLCommandBuffer, a MPSImageDescriptor, and a MPSKernel.

[Foundation.Protocol(Name="MPSImageAllocator", WrapperType=typeof(MetalPerformanceShaders.MPSImageAllocatorWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetImage", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLCommandBuffer), typeof(MetalPerformanceShaders.MPSImageDescriptor), typeof(MetalPerformanceShaders.MPSKernel) }, ReturnType=typeof(MetalPerformanceShaders.MPSImage), Selector="imageForCommandBuffer:imageDescriptor:kernel:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetImageBatch", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLCommandBuffer), typeof(MetalPerformanceShaders.MPSImageDescriptor), typeof(MetalPerformanceShaders.MPSKernel), typeof(System.UIntPtr) }, ReturnType=typeof(Foundation.NSArray<MetalPerformanceShaders.MPSImage>), Selector="imageBatchForCommandBuffer:imageDescriptor:kernel:count:")]
public interface IMPSImageAllocator : Foundation.INSSecureCoding, IDisposable
[<Foundation.Protocol(Name="MPSImageAllocator", WrapperType=typeof(MetalPerformanceShaders.MPSImageAllocatorWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetImage", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLCommandBuffer), typeof(MetalPerformanceShaders.MPSImageDescriptor), typeof(MetalPerformanceShaders.MPSKernel) }, ReturnType=typeof(MetalPerformanceShaders.MPSImage), Selector="imageForCommandBuffer:imageDescriptor:kernel:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetImageBatch", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLCommandBuffer), typeof(MetalPerformanceShaders.MPSImageDescriptor), typeof(MetalPerformanceShaders.MPSKernel), typeof(System.UIntPtr) }, ReturnType=typeof(Foundation.NSArray<MetalPerformanceShaders.MPSImage>), Selector="imageBatchForCommandBuffer:imageDescriptor:kernel:count:")>]
type IMPSImageAllocator = interface
    interface INativeObject
    interface IDisposable
    interface INSCoding
    interface INSSecureCoding
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
EncodeTo(NSCoder)

Encodes the state of the object using the provided encoder.

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

Extension Methods

Name Description
GetImageBatch(IMPSImageAllocator, IMTLCommandBuffer, MPSImageDescriptor, MPSKernel, UIntPtr)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to