One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSKernel

class · iOS 9.0+ · SDK 27.1

class MPSKernel

Members (9)

method · iOS 9.0+

copy

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

init

TypeScript
static initCoder(aDecoder: _Foundation_NSCoder): (MPSKernel) | null
Swift declaration
convenience init?(coder aDecoder: NSCoder)
init · iOS 11.0+

init

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

init

TypeScript
static initDevice(device: SDKHandle): MPSKernel
Swift declaration
init(device: any MTLDevice)
get · iOS 9.0+

device

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

label

TypeScript
get label(): (string) | null
Swift declaration
var label: String? { get set }
set · iOS 9.0+

label

TypeScript
set label(value: (string) | null)
Swift declaration
var label: String? { get set }
get · iOS 9.0+

options

TypeScript
get options(): MPSKernelOptions
Swift declaration
var options: MPSKernelOptions { get set }
set · iOS 9.0+

options

TypeScript
set options(value: MPSKernelOptions)
Swift declaration
var options: MPSKernelOptions { get set }

Skipped declarations

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

MPSKernel.init()

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

All MetalPerformanceShaders types →