One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSImageCopyToMatrix

class · iOS 11.0+ · SDK 27.1

class MPSImageCopyToMatrix

Members (9)

method · iOS 12.0+

encodeBatch

TypeScript
encodeBatch(commandBuffer: SDKHandle, sourceImages: Array<MPSImage>, destinationMatrix: MPSMatrix): void
Swift declaration
func encodeBatch(commandBuffer: any MTLCommandBuffer, sourceImages: [MPSImage], destinationMatrix: MPSMatrix)
method · iOS 11.0+

encode

TypeScript
encode(commandBuffer: SDKHandle, sourceImage: MPSImage, destinationMatrix: MPSMatrix): void
Swift declaration
func encode(commandBuffer: any MTLCommandBuffer, sourceImage: MPSImage, destinationMatrix: MPSMatrix)
init · iOS 11.0+

init

TypeScript
static initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSImageCopyToMatrix) | null
Swift declaration
init?(coder aDecoder: NSCoder, device: any MTLDevice)
init · iOS 11.0+

init

TypeScript
static initDeviceDataLayout(device: SDKHandle, dataLayout: MPSDataLayout): MPSImageCopyToMatrix
Swift declaration
init(device: any MTLDevice, dataLayout: MPSDataLayout)
get · iOS 11.0+

dataLayout

TypeScript
get dataLayout(): MPSDataLayout
Swift declaration
var dataLayout: MPSDataLayout { get }
get · iOS 11.0+

destinationMatrixBatchIndex

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

destinationMatrixBatchIndex

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

destinationMatrixOrigin

TypeScript
get destinationMatrixOrigin(): _Metal_MTLOrigin
Swift declaration
var destinationMatrixOrigin: MTLOrigin { get set }
set · iOS 11.0+

destinationMatrixOrigin

TypeScript
set destinationMatrixOrigin(value: _Metal_MTLOrigin)
Swift declaration
var destinationMatrixOrigin: MTLOrigin { get set }

Skipped declarations

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

MPSImageCopyToMatrix.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All MetalPerformanceShaders types →