One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSMatrixFindTopK

class · iOS 11.3+ · SDK 27.1

class MPSMatrixFindTopK

Members (12)

method · iOS 11.3+

copy

TypeScript
copy(device?: (SDKHandle) | null): MPSMatrixFindTopK
Swift declaration
func copy(with zone: NSZone? = nil, device: (any MTLDevice)?) -> Self
method · iOS 11.3+

encode

TypeScript
encode(commandBuffer: SDKHandle, inputMatrix: MPSMatrix, resultIndexMatrix: MPSMatrix, resultValueMatrix: MPSMatrix): void
Swift declaration
func encode(commandBuffer: any MTLCommandBuffer, inputMatrix: MPSMatrix, resultIndexMatrix: MPSMatrix, resultValueMatrix: MPSMatrix)
init · iOS 11.3+

init

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

init

TypeScript
static initDeviceNumberOfTopKValues(device: SDKHandle, numberOfTopKValues: number): MPSMatrixFindTopK
Swift declaration
init(device: any MTLDevice, numberOfTopKValues: Int)
get · iOS 11.3+

indexOffset

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

indexOffset

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

numberOfTopKValues

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

numberOfTopKValues

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

sourceColumns

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

sourceColumns

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

sourceRows

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

sourceRows

TypeScript
set sourceRows(value: number)
Swift declaration
var sourceRows: Int { get set }

Skipped declarations

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

MPSMatrixFindTopK.init()

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

All MetalPerformanceShaders types →