IMPSNDArrayAllocator.AllocateArray Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("arrayForCommandBuffer:arrayDescriptor:kernel:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSNDArray AllocateArray(Metal.IMTLCommandBuffer cmdBuf, MetalPerformanceShaders.MPSNDArrayDescriptor descriptor, MetalPerformanceShaders.MPSKernel kernel);
[<Foundation.Export("arrayForCommandBuffer:arrayDescriptor:kernel:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member AllocateArray : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArrayDescriptor * MetalPerformanceShaders.MPSKernel -> MetalPerformanceShaders.MPSNDArray
override this.AllocateArray : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSNDArrayDescriptor * MetalPerformanceShaders.MPSKernel -> MetalPerformanceShaders.MPSNDArray
Parameters
- cmdBuf
- IMTLCommandBuffer
- descriptor
- MPSNDArrayDescriptor
- kernel
- MPSKernel
Returns
- Attributes