One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSMatrixCopyToImage

class · iOS 12.0+ · SDK 27.1

class MPSMatrixCopyToImage

Members (9)

method · iOS 12.0+

encodeBatch

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

encode

TypeScript
encode(commandBuffer: SDKHandle, sourceMatrix: MPSMatrix, destinationImage: MPSImage): void
Swift declaration
func encode(commandBuffer: any MTLCommandBuffer, sourceMatrix: MPSMatrix, destinationImage: MPSImage)
init · iOS 12.0+

init

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

init

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

dataLayout

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

sourceMatrixBatchIndex

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

sourceMatrixBatchIndex

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

sourceMatrixOrigin

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

sourceMatrixOrigin

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

Skipped declarations

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

MPSMatrixCopyToImage.init()

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

All MetalPerformanceShaders types →