Share via


MPSVectorDescriptor.Create Method

Definition

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

Applies to