supportsSecureCoding
TypeScriptstatic supportsSecureCoding(): booleanSwift declarationclass func supportsSecureCoding() -> Boolclass · iOS 27.0+ · SDK 27.1
class MPSFunctionstatic supportsSecureCoding(): booleanSwift declarationclass func supportsSecureCoding() -> Boolcopy(device?: (SDKHandle) | null): MPSFunctionSwift declarationfunc copy(with zone: NSZone? = nil, device: (any MTLDevice)?) -> SelffunctionPrototype(): stringSwift declarationfunc functionPrototype() -> Stringstatic init(aDecoder: _Foundation_NSCoder): (MPSFunction) | nullSwift declarationinit?(coder aDecoder: NSCoder)get device(): SDKHandleSwift declarationvar device: any MTLDevice { get }get error(): (NativeError) | nullSwift declarationvar error: (any Error)? { get }get function(): (SDKHandle) | nullSwift declarationvar function: (any MTLFunction)? { get }get name(): stringSwift declarationvar name: String { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSFunction.init()
inherited init: clang: 'init' is unavailable