One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSMatrix

class · iOS 10.0+ · SDK 27.1

class MPSMatrix

Members (14)

init · iOS 10.0+

init

TypeScript
static initBufferDescriptor(buffer: SDKHandle, descriptor: MPSMatrixDescriptor): MPSMatrix
Swift declaration
init(buffer: any MTLBuffer, descriptor: MPSMatrixDescriptor)
init · iOS 13.0+

init

TypeScript
static initBufferOffsetDescriptor(buffer: SDKHandle, offset: number, descriptor: MPSMatrixDescriptor): MPSMatrix
Swift declaration
init(buffer: any MTLBuffer, offset: Int, descriptor: MPSMatrixDescriptor)
init · iOS 10.0+

init

TypeScript
static initDeviceDescriptor(device: SDKHandle, descriptor: MPSMatrixDescriptor): MPSMatrix
Swift declaration
init(device: any MTLDevice, descriptor: MPSMatrixDescriptor)
method · iOS 11.3+

resourceSize

TypeScript
resourceSize(): number
Swift declaration
func resourceSize() -> Int
method · iOS 11.3+

synchronize

TypeScript
synchronize(commandBuffer: SDKHandle): void
Swift declaration
func synchronize(on commandBuffer: any MTLCommandBuffer)
get · iOS 10.0+

columns

TypeScript
get columns(): number
Swift declaration
var columns: Int { get }
get · iOS 10.0+

data

TypeScript
get data(): SDKHandle
Swift declaration
var data: any MTLBuffer { get }
get · iOS 10.0+

dataType

TypeScript
get dataType(): MPSDataType
Swift declaration
var dataType: MPSDataType { get }
get · iOS 10.0+

device

TypeScript
get device(): SDKHandle
Swift declaration
var device: any MTLDevice { get }
get · iOS 11.0+

matrices

TypeScript
get matrices(): number
Swift declaration
var matrices: Int { get }
get · iOS 11.0+

matrixBytes

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

offset

TypeScript
get offset(): number
Swift declaration
var offset: Int { get }
get · iOS 10.0+

rowBytes

TypeScript
get rowBytes(): number
Swift declaration
var rowBytes: Int { get }
get · iOS 10.0+

rows

TypeScript
get rows(): number
Swift declaration
var rows: Int { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MPSMatrix.init()

inherited init: cannot prove legal (class declares 3 custom initializers)

All MetalPerformanceShaders types →