MetalPerformanceShadersGraph · IOS API REFERENCE
MPSGraphRandomOpDescriptor
class · SDK 27.1
class MPSGraphRandomOpDescriptor
Members (19)
initinit
TypeScriptstatic init(distribution: MPSGraphRandomDistribution, dataType: _MetalPerformanceShaders_MPSDataType): (MPSGraphRandomOpDescriptor) | null
Swift declarationconvenience init?(distribution: MPSGraphRandomDistribution, dataType: MPSDataType)
getdataType
TypeScriptget dataType(): _MetalPerformanceShaders_MPSDataType
Swift declarationvar dataType: MPSDataType { get set }
setdataType
TypeScriptset dataType(value: _MetalPerformanceShaders_MPSDataType)
Swift declarationvar dataType: MPSDataType { get set }
getdistribution
TypeScriptget distribution(): MPSGraphRandomDistribution
Swift declarationvar distribution: MPSGraphRandomDistribution { get set }
setdistribution
TypeScriptset distribution(value: MPSGraphRandomDistribution)
Swift declarationvar distribution: MPSGraphRandomDistribution { get set }
getmax
TypeScriptget max(): number
Swift declarationvar max: Float { get set }
setmax
TypeScriptset max(value: number)
Swift declarationvar max: Float { get set }
getmaxInteger
TypeScriptget maxInteger(): number
Swift declarationvar maxInteger: Int { get set }
setmaxInteger
TypeScriptset maxInteger(value: number)
Swift declarationvar maxInteger: Int { get set }
getmean
TypeScriptget mean(): number
Swift declarationvar mean: Float { get set }
setmean
TypeScriptset mean(value: number)
Swift declarationvar mean: Float { get set }
getmin
TypeScriptget min(): number
Swift declarationvar min: Float { get set }
setmin
TypeScriptset min(value: number)
Swift declarationvar min: Float { get set }
getminInteger
TypeScriptget minInteger(): number
Swift declarationvar minInteger: Int { get set }
setminInteger
TypeScriptset minInteger(value: number)
Swift declarationvar minInteger: Int { get set }
getsamplingMethod
TypeScriptget samplingMethod(): MPSGraphRandomNormalSamplingMethod
Swift declarationvar samplingMethod: MPSGraphRandomNormalSamplingMethod { get set }
setsamplingMethod
TypeScriptset samplingMethod(value: MPSGraphRandomNormalSamplingMethod)
Swift declarationvar samplingMethod: MPSGraphRandomNormalSamplingMethod { get set }
getstandardDeviation
TypeScriptget standardDeviation(): number
Swift declarationvar standardDeviation: Float { get set }
setstandardDeviation
TypeScriptset standardDeviation(value: number)
Swift declarationvar standardDeviation: Float { get set }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSGraphRandomOpDescriptor.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All MetalPerformanceShadersGraph types →