Share via


MPSNDArrayDescriptor.Create Method

Definition

Overloads

Create(MPSDataType, UIntPtr[])

[Foundation.Export("descriptorWithDataType:shape:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSNDArrayDescriptor Create(MetalPerformanceShaders.MPSDataType dataType, UIntPtr[] shape);
[<Foundation.Export("descriptorWithDataType:shape:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSDataType * unativeint[] -> MetalPerformanceShaders.MPSNDArrayDescriptor

Parameters

dataType
MPSDataType
shape

UIntPtr[]

unativeint[]

Returns

Attributes

Applies to

Create(MPSDataType, UIntPtr, IntPtr)

[Foundation.Export("descriptorWithDataType:dimensionCount:dimensionSizes:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSNDArrayDescriptor Create(MetalPerformanceShaders.MPSDataType dataType, UIntPtr numberOfDimensions, IntPtr dimensionSizes);
[<Foundation.Export("descriptorWithDataType:dimensionCount:dimensionSizes:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSDataType * unativeint * nativeint -> MetalPerformanceShaders.MPSNDArrayDescriptor

Parameters

dataType
MPSDataType
numberOfDimensions
UIntPtr

unativeint

dimensionSizes
IntPtr

nativeint

Returns

Attributes

Applies to