MPSNDArrayDescriptor.Create 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.
Overloads
| Name | Description |
|---|---|
| Create(MPSDataType, UIntPtr[]) | |
| Create(MPSDataType, UIntPtr, IntPtr) |
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