MPSKeyedUnarchiver(3)

NAME
MPSKeyedUnarchiver

SYNOPSIS

#import <MPSKeyedUnarchiver.h>

Inherits NSKeyedUnarchiver, and <MPSDeviceProvider>.

  Instance Methods
(nonnull instancetype) - initForReadingFromData:device:error:
(__nonnull id< MTLDevice >) - mpsMTLDevice
(nonnull instancetype) - init
(nonnull instancetype) - initForReadingFromData:error:
(nonnull instancetype) - initForReadingWithData:
(nullable instancetype) - initWithDevice:
(nonnull instancetype) - initForReadingWithData:device:

  Class Methods
(nullable id) + unarchivedObjectOfClasses:fromData:device:error:
(nullable id) + unarchivedObjectOfClass:fromData:device:error:
(nullable id) + unarchivedObjectOfClasses:fromData:error:
(nullable id) + unarchivedObjectOfClass:fromData:error:
(nullable id) + unarchiveObjectWithData:
(nullable id) + unarchiveObjectWithData:device:
(nullable id) + unarchiveTopLevelObjectWithData:error:
(nullable id) + unarchiveTopLevelObjectWithData:device:error:
(nullable id) + unarchiveObjectWithFile:
(nullable id) + unarchiveObjectWithFile:device:

Detailed Description

A NSKeyedArchiver that supports the MPSDeviceProvider protocol for MPSKernel decoding

Method Documentation

  - (nonnull instancetype) init

  - (nonnull instancetype) initForReadingFromData: (NSData *__nonnull) data(__nonnull id< MTLDevice >) device(NSError *__nullable *__nullable) error

  - (nonnull instancetype) initForReadingFromData: (NSData *__nonnull) data(NSError *__nullable *__nullable) error

  - (nonnull instancetype) initForReadingWithData: (NSData *__nonnull) data

  - (nonnull instancetype) initForReadingWithData: (NSData *__nonnull) data(__nonnull id< MTLDevice >) device

  - (nullable instancetype) initWithDevice: (__nonnull id< MTLDevice >) device

  - (__nonnull id <MTLDevice>) mpsMTLDevice
Reports which device to use for unarchiving MPSKernels

Reimplemented from <MPSDeviceProvider>.

  + (nullable id) unarchivedObjectOfClass: (__nonnull Class) cls(NSData *__nonnull) data(__nonnull id< MTLDevice >) device(NSError *__nullable *__nullable) error

  + (nullable id) unarchivedObjectOfClass: (__nonnull Class) cls(NSData *__nonnull) data(NSError *__nullable *__nullable) error

  + (nullable id) unarchivedObjectOfClasses: (NSSet< Class > *__nonnull) classes(NSData *__nonnull) data(__nonnull id< MTLDevice >) device(NSError *__nullable *__nullable) error

  + (nullable id) unarchivedObjectOfClasses: (NSSet< Class > *__nonnull) classes(NSData *__nonnull) data(NSError *__nullable *__nullable) error

  + (nullable id) unarchiveObjectWithData: (NSData *__nonnull) data

  + (nullable id) unarchiveObjectWithData: (NSData *__nonnull) data(__nonnull id< MTLDevice >) device

  + (nullable id) unarchiveObjectWithFile: (NSString *__nonnull) path

  + (nullable id) unarchiveObjectWithFile: (NSString *__nonnull) path(__nonnull id< MTLDevice >) device

  + (nullable id) unarchiveTopLevelObjectWithData: (NSData *__nonnull) data(__nonnull id< MTLDevice >) device(NSError *__nullable *__nullable) error

  + (nullable id) unarchiveTopLevelObjectWithData: (NSData *__nonnull) data(NSError *__nullable *__nullable) error

Author

Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.