MPSVectorDescriptor.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
Create(UIntPtr, MPSDataType)
[Foundation.Export("vectorDescriptorWithLength:dataType:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSVectorDescriptor Create(UIntPtr length, MetalPerformanceShaders.MPSDataType dataType);
[<Foundation.Export("vectorDescriptorWithLength:dataType:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : unativeint * MetalPerformanceShaders.MPSDataType -> MetalPerformanceShaders.MPSVectorDescriptor
Parameters
- length
-
UIntPtr
unativeint
- dataType
- MPSDataType
Returns
- Attributes
Applies to
Create(UIntPtr, UIntPtr, UIntPtr, MPSDataType)
[Foundation.Export("vectorDescriptorWithLength:vectors:vectorBytes:dataType:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSVectorDescriptor Create(UIntPtr length, UIntPtr vectors, UIntPtr vectorBytes, MetalPerformanceShaders.MPSDataType dataType);
[<Foundation.Export("vectorDescriptorWithLength:vectors:vectorBytes:dataType:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : unativeint * unativeint * unativeint * MetalPerformanceShaders.MPSDataType -> MetalPerformanceShaders.MPSVectorDescriptor
Parameters
- length
-
UIntPtr
unativeint
- vectors
-
UIntPtr
unativeint
- vectorBytes
-
UIntPtr
unativeint
- dataType
- MPSDataType
Returns
- Attributes