MetalPerformanceShaders · IOS API REFERENCE
MPSMatrixCopyToImage
class · iOS 12.0+ · SDK 27.1
class MPSMatrixCopyToImage
Members (9)
method · iOS 12.0+encodeBatch
TypeScriptencodeBatch(commandBuffer: SDKHandle, sourceMatrix: MPSMatrix, destinationImages: Array<MPSImage>): void
Swift declarationfunc encodeBatch(commandBuffer: any MTLCommandBuffer, sourceMatrix: MPSMatrix, destinationImages: [MPSImage])
method · iOS 12.0+encode
TypeScriptencode(commandBuffer: SDKHandle, sourceMatrix: MPSMatrix, destinationImage: MPSImage): void
Swift declarationfunc encode(commandBuffer: any MTLCommandBuffer, sourceMatrix: MPSMatrix, destinationImage: MPSImage)
init · iOS 12.0+init
TypeScriptstatic initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSMatrixCopyToImage) | null
Swift declarationinit?(coder aDecoder: NSCoder, device: any MTLDevice)
init · iOS 12.0+init
TypeScriptstatic initDeviceDataLayout(device: SDKHandle, dataLayout: MPSDataLayout): MPSMatrixCopyToImage
Swift declarationinit(device: any MTLDevice, dataLayout: MPSDataLayout)
get · iOS 12.0+dataLayout
TypeScriptget dataLayout(): MPSDataLayout
Swift declarationvar dataLayout: MPSDataLayout { get }
get · iOS 12.0+sourceMatrixBatchIndex
TypeScriptget sourceMatrixBatchIndex(): number
Swift declarationvar sourceMatrixBatchIndex: Int { get set }
set · iOS 12.0+sourceMatrixBatchIndex
TypeScriptset sourceMatrixBatchIndex(value: number)
Swift declarationvar sourceMatrixBatchIndex: Int { get set }
get · iOS 12.0+sourceMatrixOrigin
TypeScriptget sourceMatrixOrigin(): _Metal_MTLOrigin
Swift declarationvar sourceMatrixOrigin: MTLOrigin { get set }
set · iOS 12.0+sourceMatrixOrigin
TypeScriptset sourceMatrixOrigin(value: _Metal_MTLOrigin)
Swift declarationvar 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 →