One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSNNGridSample

class · iOS 13.0+ · SDK 27.1

class MPSNNGridSample

Members (4)

init · iOS 13.0+

init

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

init

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

useGridValueAsInputCoordinate

TypeScript
get useGridValueAsInputCoordinate(): boolean
Swift declaration
var useGridValueAsInputCoordinate: Bool { get set }
set · iOS 13.0+

useGridValueAsInputCoordinate

TypeScript
set useGridValueAsInputCoordinate(value: boolean)
Swift declaration
var useGridValueAsInputCoordinate: Bool { get set }

Skipped declarations

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

MPSNNGridSample.init()

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

All MetalPerformanceShaders types →