Share via


MPSGraphRandomOpDescriptor.Create Method

Definition

[Foundation.Export("descriptorWithDistribution:dataType:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphRandomOpDescriptor? Create(MetalPerformanceShadersGraph.MPSGraphRandomDistribution distribution, MetalPerformanceShaders.MPSDataType dataType);
[<Foundation.Export("descriptorWithDistribution:dataType:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShadersGraph.MPSGraphRandomDistribution * MetalPerformanceShaders.MPSDataType -> MetalPerformanceShadersGraph.MPSGraphRandomOpDescriptor

Parameters

dataType
MPSDataType

Returns

Attributes

Applies to