One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSMatrixRandom

class · iOS 13.0+ · SDK 27.1

class MPSMatrixRandom

Members (9)

method · iOS 13.0+

encode

TypeScript
encodeCommandBufferDestinationMatrix(commandBuffer: SDKHandle, destinationMatrix: MPSMatrix): void
Swift declaration
func encode(commandBuffer: any MTLCommandBuffer, destinationMatrix: MPSMatrix)
method · iOS 13.0+

encode

TypeScript
encodeCommandBufferDestinationVector(commandBuffer: SDKHandle, destinationVector: MPSVector): void
Swift declaration
func encode(commandBuffer: any MTLCommandBuffer, destinationVector: MPSVector)
init

init

TypeScript
static init(): MPSMatrixRandom
Swift declaration
init()
get · iOS 13.0+

batchSize

TypeScript
get batchSize(): number
Swift declaration
var batchSize: Int { get set }
set · iOS 13.0+

batchSize

TypeScript
set batchSize(value: number)
Swift declaration
var batchSize: Int { get set }
get · iOS 13.0+

batchStart

TypeScript
get batchStart(): number
Swift declaration
var batchStart: Int { get set }
set · iOS 13.0+

batchStart

TypeScript
set batchStart(value: number)
Swift declaration
var batchStart: Int { get set }
get · iOS 13.0+

destinationDataType

TypeScript
get destinationDataType(): MPSDataType
Swift declaration
var destinationDataType: MPSDataType { get }
get · iOS 13.0+

distributionType

TypeScript
get distributionType(): MPSMatrixRandomDistribution
Swift declaration
var distributionType: MPSMatrixRandomDistribution { get }

Skipped declarations

No declarations were skipped in this snapshot.

All MetalPerformanceShaders types →