Documentation Archive Developer
Search

Metal Changes for Swift

Metal

Added MTLFence
Added MTLHeap
Added MTLResourceHazardTrackingModeShift
Modified MTLArgument
DeclarationProtocols
From
class MTLArgument : NSObject {
    var name: String { get }
    var type: MTLArgumentType { get }
    var access: MTLArgumentAccess { get }
    var index: Int { get }
    var active: Bool { get }
    var bufferAlignment: Int { get }
    var bufferDataSize: Int { get }
    var bufferDataType: MTLDataType { get }
    var bufferStructType: MTLStructType { get }
    var threadgroupMemoryAlignment: Int { get }
    var threadgroupMemoryDataSize: Int { get }
    var textureType: MTLTextureType { get }
    var textureDataType: MTLDataType { get }
}
--
To
class MTLArgument : NSObject {
    var name: String { get }
    var type: MTLArgumentType { get }
    var access: MTLArgumentAccess { get }
    var index: Int { get }
    var isActive: Bool { get }
    var bufferAlignment: Int { get }
    var bufferDataSize: Int { get }
    var bufferDataType: MTLDataType { get }
    var bufferStructType: MTLStructType { get }
    var threadgroupMemoryAlignment: Int { get }
    var threadgroupMemoryDataSize: Int { get }
    var textureType: MTLTextureType { get }
    var textureDataType: MTLDataType { get }
    var isDepthTexture: Bool { get }
    var arrayLength: Int { get }
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLArgument : CVarArg {
}
extension MTLArgument : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
var active: Bool { get }
To
var isActive: Bool { get }

Declaration
From
enum MTLArgumentAccess : UInt {
    case ReadOnly
    case ReadWrite
    case WriteOnly
}
To
enum MTLArgumentAccess : UInt {
    case readOnly
    case readWrite
    case writeOnly
}

Declaration
From
case ReadOnly
To
case readOnly

Declaration
From
case ReadWrite
To
case readWrite

Declaration
From
case WriteOnly
To
case writeOnly

Declaration
From
enum MTLArgumentType : UInt {
    case Buffer
    case ThreadgroupMemory
    case Texture
    case Sampler
}
To
enum MTLArgumentType : UInt {
    case buffer
    case threadgroupMemory
    case texture
    case sampler
}

Declaration
From
case Buffer
To
case buffer

Declaration
From
case Sampler
To
case sampler

Declaration
From
case Texture
To
case texture

Declaration
From
case ThreadgroupMemory
To
case threadgroupMemory

Modified MTLArrayType
DeclarationProtocols
From
class MTLArrayType : NSObject {
    var arrayLength: Int { get }
    var elementType: MTLDataType { get }
    var stride: Int { get }
    func elementStructType() -> MTLStructType?
    func elementArrayType() -> MTLArrayType?
}
--
To
class MTLArrayType : NSObject {
    var arrayLength: Int { get }
    var elementType: MTLDataType { get }
    var stride: Int { get }
    func elementStructType() -> MTLStructType?
    func element() -> MTLArrayType?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLArrayType : CVarArg {
}
extension MTLArrayType : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
func elementArrayType() -> MTLArrayType?
To
func element() -> MTLArrayType?

Declaration
From
enum MTLBlendFactor : UInt {
    case Zero
    case One
    case SourceColor
    case OneMinusSourceColor
    case SourceAlpha
    case OneMinusSourceAlpha
    case DestinationColor
    case OneMinusDestinationColor
    case DestinationAlpha
    case OneMinusDestinationAlpha
    case SourceAlphaSaturated
    case BlendColor
    case OneMinusBlendColor
    case BlendAlpha
    case OneMinusBlendAlpha
}
To
enum MTLBlendFactor : UInt {
    case zero
    case one
    case sourceColor
    case oneMinusSourceColor
    case sourceAlpha
    case oneMinusSourceAlpha
    case destinationColor
    case oneMinusDestinationColor
    case destinationAlpha
    case oneMinusDestinationAlpha
    case sourceAlphaSaturated
    case blendColor
    case oneMinusBlendColor
    case blendAlpha
    case oneMinusBlendAlpha
}

Declaration
From
case BlendAlpha
To
case blendAlpha

Declaration
From
case BlendColor
To
case blendColor

Declaration
From
case DestinationAlpha
To
case destinationAlpha

Declaration
From
case DestinationColor
To
case destinationColor

Declaration
From
case One
To
case one

Declaration
From
case OneMinusBlendAlpha
To
case oneMinusBlendAlpha

Declaration
From
case OneMinusBlendColor
To
case oneMinusBlendColor

Declaration
From
case OneMinusDestinationAlpha
To
case oneMinusDestinationAlpha

Declaration
From
case OneMinusDestinationColor
To
case oneMinusDestinationColor

Declaration
From
case OneMinusSourceAlpha
To
case oneMinusSourceAlpha

Declaration
From
case OneMinusSourceColor
To
case oneMinusSourceColor

Declaration
From
case SourceAlpha
To
case sourceAlpha

Declaration
From
case SourceAlphaSaturated
To
case sourceAlphaSaturated

Declaration
From
case SourceColor
To
case sourceColor

Declaration
From
case Zero
To
case zero

Declaration
From
enum MTLBlendOperation : UInt {
    case Add
    case Subtract
    case ReverseSubtract
    case Min
    case Max
}
To
enum MTLBlendOperation : UInt {
    case add
    case subtract
    case reverseSubtract
    case min
    case max
}

Declaration
From
case Add
To
case add

Declaration
From
case Max
To
case max

Declaration
From
case Min
To
case min

Declaration
From
case ReverseSubtract
To
case reverseSubtract

Declaration
From
case Subtract
To
case subtract

Declaration
From
protocol MTLBlitCommandEncoder : MTLCommandEncoder {
    func synchronizeResource(_ resource: MTLResource)
    func synchronizeTexture(_ texture: MTLTexture, slice slice: Int, level level: Int)
    func copyFromTexture(_ sourceTexture: MTLTexture, sourceSlice sourceSlice: Int, sourceLevel sourceLevel: Int, sourceOrigin sourceOrigin: MTLOrigin, sourceSize sourceSize: MTLSize, toTexture destinationTexture: MTLTexture, destinationSlice destinationSlice: Int, destinationLevel destinationLevel: Int, destinationOrigin destinationOrigin: MTLOrigin)
    func copyFromBuffer(_ sourceBuffer: MTLBuffer, sourceOffset sourceOffset: Int, sourceBytesPerRow sourceBytesPerRow: Int, sourceBytesPerImage sourceBytesPerImage: Int, sourceSize sourceSize: MTLSize, toTexture destinationTexture: MTLTexture, destinationSlice destinationSlice: Int, destinationLevel destinationLevel: Int, destinationOrigin destinationOrigin: MTLOrigin)
    func copyFromBuffer(_ sourceBuffer: MTLBuffer, sourceOffset sourceOffset: Int, sourceBytesPerRow sourceBytesPerRow: Int, sourceBytesPerImage sourceBytesPerImage: Int, sourceSize sourceSize: MTLSize, toTexture destinationTexture: MTLTexture, destinationSlice destinationSlice: Int, destinationLevel destinationLevel: Int, destinationOrigin destinationOrigin: MTLOrigin, options options: MTLBlitOption)
    func copyFromTexture(_ sourceTexture: MTLTexture, sourceSlice sourceSlice: Int, sourceLevel sourceLevel: Int, sourceOrigin sourceOrigin: MTLOrigin, sourceSize sourceSize: MTLSize, toBuffer destinationBuffer: MTLBuffer, destinationOffset destinationOffset: Int, destinationBytesPerRow destinationBytesPerRow: Int, destinationBytesPerImage destinationBytesPerImage: Int)
    func copyFromTexture(_ sourceTexture: MTLTexture, sourceSlice sourceSlice: Int, sourceLevel sourceLevel: Int, sourceOrigin sourceOrigin: MTLOrigin, sourceSize sourceSize: MTLSize, toBuffer destinationBuffer: MTLBuffer, destinationOffset destinationOffset: Int, destinationBytesPerRow destinationBytesPerRow: Int, destinationBytesPerImage destinationBytesPerImage: Int, options options: MTLBlitOption)
    func generateMipmapsForTexture(_ texture: MTLTexture)
    func fillBuffer(_ buffer: MTLBuffer, range range: NSRange, value value: UInt8)
    func copyFromBuffer(_ sourceBuffer: MTLBuffer, sourceOffset sourceOffset: Int, toBuffer destinationBuffer: MTLBuffer, destinationOffset destinationOffset: Int, size size: Int)
}
To
protocol MTLBlitCommandEncoder : MTLCommandEncoder {
    func synchronize(resource resource: MTLResource)
    func synchronize(texture texture: MTLTexture, slice slice: Int, level level: Int)
    func copy(from sourceTexture: MTLTexture, sourceSlice sourceSlice: Int, sourceLevel sourceLevel: Int, sourceOrigin sourceOrigin: MTLOrigin, sourceSize sourceSize: MTLSize, to destinationTexture: MTLTexture, destinationSlice destinationSlice: Int, destinationLevel destinationLevel: Int, destinationOrigin destinationOrigin: MTLOrigin)
    func copy(from sourceBuffer: MTLBuffer, sourceOffset sourceOffset: Int, sourceBytesPerRow sourceBytesPerRow: Int, sourceBytesPerImage sourceBytesPerImage: Int, sourceSize sourceSize: MTLSize, to destinationTexture: MTLTexture, destinationSlice destinationSlice: Int, destinationLevel destinationLevel: Int, destinationOrigin destinationOrigin: MTLOrigin)
    func copy(from sourceBuffer: MTLBuffer, sourceOffset sourceOffset: Int, sourceBytesPerRow sourceBytesPerRow: Int, sourceBytesPerImage sourceBytesPerImage: Int, sourceSize sourceSize: MTLSize, to destinationTexture: MTLTexture, destinationSlice destinationSlice: Int, destinationLevel destinationLevel: Int, destinationOrigin destinationOrigin: MTLOrigin, options options: MTLBlitOption)
    func copy(from sourceTexture: MTLTexture, sourceSlice sourceSlice: Int, sourceLevel sourceLevel: Int, sourceOrigin sourceOrigin: MTLOrigin, sourceSize sourceSize: MTLSize, to destinationBuffer: MTLBuffer, destinationOffset destinationOffset: Int, destinationBytesPerRow destinationBytesPerRow: Int, destinationBytesPerImage destinationBytesPerImage: Int)
    func copy(from sourceTexture: MTLTexture, sourceSlice sourceSlice: Int, sourceLevel sourceLevel: Int, sourceOrigin sourceOrigin: MTLOrigin, sourceSize sourceSize: MTLSize, to destinationBuffer: MTLBuffer, destinationOffset destinationOffset: Int, destinationBytesPerRow destinationBytesPerRow: Int, destinationBytesPerImage destinationBytesPerImage: Int, options options: MTLBlitOption)
    func generateMipmaps(for texture: MTLTexture)
    func fill(buffer buffer: MTLBuffer, range range: NSRange, value value: UInt8)
    func copy(from sourceBuffer: MTLBuffer, sourceOffset sourceOffset: Int, to destinationBuffer: MTLBuffer, destinationOffset destinationOffset: Int, size size: Int)
    func updateFence(_ fence: MTLFence)
    func waitForFence(_ fence: MTLFence)
}

Declaration
From
func copyFromBuffer(_ sourceBuffer: MTLBuffer, sourceOffset sourceOffset: Int, sourceBytesPerRow sourceBytesPerRow: Int, sourceBytesPerImage sourceBytesPerImage: Int, sourceSize sourceSize: MTLSize, toTexture destinationTexture: MTLTexture, destinationSlice destinationSlice: Int, destinationLevel destinationLevel: Int, destinationOrigin destinationOrigin: MTLOrigin)
To
func copy(from sourceBuffer: MTLBuffer, sourceOffset sourceOffset: Int, sourceBytesPerRow sourceBytesPerRow: Int, sourceBytesPerImage sourceBytesPerImage: Int, sourceSize sourceSize: MTLSize, to destinationTexture: MTLTexture, destinationSlice destinationSlice: Int, destinationLevel destinationLevel: Int, destinationOrigin destinationOrigin: MTLOrigin)

Declaration
From
func copyFromBuffer(_ sourceBuffer: MTLBuffer, sourceOffset sourceOffset: Int, sourceBytesPerRow sourceBytesPerRow: Int, sourceBytesPerImage sourceBytesPerImage: Int, sourceSize sourceSize: MTLSize, toTexture destinationTexture: MTLTexture, destinationSlice destinationSlice: Int, destinationLevel destinationLevel: Int, destinationOrigin destinationOrigin: MTLOrigin, options options: MTLBlitOption)
To
func copy(from sourceBuffer: MTLBuffer, sourceOffset sourceOffset: Int, sourceBytesPerRow sourceBytesPerRow: Int, sourceBytesPerImage sourceBytesPerImage: Int, sourceSize sourceSize: MTLSize, to destinationTexture: MTLTexture, destinationSlice destinationSlice: Int, destinationLevel destinationLevel: Int, destinationOrigin destinationOrigin: MTLOrigin, options options: MTLBlitOption)

Declaration
From
func copyFromBuffer(_ sourceBuffer: MTLBuffer, sourceOffset sourceOffset: Int, toBuffer destinationBuffer: MTLBuffer, destinationOffset destinationOffset: Int, size size: Int)
To
func copy(from sourceBuffer: MTLBuffer, sourceOffset sourceOffset: Int, to destinationBuffer: MTLBuffer, destinationOffset destinationOffset: Int, size size: Int)

Declaration
From
func copyFromTexture(_ sourceTexture: MTLTexture, sourceSlice sourceSlice: Int, sourceLevel sourceLevel: Int, sourceOrigin sourceOrigin: MTLOrigin, sourceSize sourceSize: MTLSize, toBuffer destinationBuffer: MTLBuffer, destinationOffset destinationOffset: Int, destinationBytesPerRow destinationBytesPerRow: Int, destinationBytesPerImage destinationBytesPerImage: Int)
To
func copy(from sourceTexture: MTLTexture, sourceSlice sourceSlice: Int, sourceLevel sourceLevel: Int, sourceOrigin sourceOrigin: MTLOrigin, sourceSize sourceSize: MTLSize, to destinationBuffer: MTLBuffer, destinationOffset destinationOffset: Int, destinationBytesPerRow destinationBytesPerRow: Int, destinationBytesPerImage destinationBytesPerImage: Int)

Declaration
From
func copyFromTexture(_ sourceTexture: MTLTexture, sourceSlice sourceSlice: Int, sourceLevel sourceLevel: Int, sourceOrigin sourceOrigin: MTLOrigin, sourceSize sourceSize: MTLSize, toBuffer destinationBuffer: MTLBuffer, destinationOffset destinationOffset: Int, destinationBytesPerRow destinationBytesPerRow: Int, destinationBytesPerImage destinationBytesPerImage: Int, options options: MTLBlitOption)
To
func copy(from sourceTexture: MTLTexture, sourceSlice sourceSlice: Int, sourceLevel sourceLevel: Int, sourceOrigin sourceOrigin: MTLOrigin, sourceSize sourceSize: MTLSize, to destinationBuffer: MTLBuffer, destinationOffset destinationOffset: Int, destinationBytesPerRow destinationBytesPerRow: Int, destinationBytesPerImage destinationBytesPerImage: Int, options options: MTLBlitOption)

Declaration
From
func copyFromTexture(_ sourceTexture: MTLTexture, sourceSlice sourceSlice: Int, sourceLevel sourceLevel: Int, sourceOrigin sourceOrigin: MTLOrigin, sourceSize sourceSize: MTLSize, toTexture destinationTexture: MTLTexture, destinationSlice destinationSlice: Int, destinationLevel destinationLevel: Int, destinationOrigin destinationOrigin: MTLOrigin)
To
func copy(from sourceTexture: MTLTexture, sourceSlice sourceSlice: Int, sourceLevel sourceLevel: Int, sourceOrigin sourceOrigin: MTLOrigin, sourceSize sourceSize: MTLSize, to destinationTexture: MTLTexture, destinationSlice destinationSlice: Int, destinationLevel destinationLevel: Int, destinationOrigin destinationOrigin: MTLOrigin)

Declaration
From
func fillBuffer(_ buffer: MTLBuffer, range range: NSRange, value value: UInt8)
To
func fill(buffer buffer: MTLBuffer, range range: NSRange, value value: UInt8)

Declaration
From
func generateMipmapsForTexture(_ texture: MTLTexture)
To
func generateMipmaps(for texture: MTLTexture)

DeclarationProtocols
From
struct MTLBlitOption : OptionSetType {
    init(rawValue rawValue: UInt)
    static var None: MTLBlitOption { get }
    static var DepthFromDepthStencil: MTLBlitOption { get }
    static var StencilFromDepthStencil: MTLBlitOption { get }
    static var RowLinearPVRTC: MTLBlitOption { get }
}
OptionSetType
To
struct MTLBlitOption : OptionSet {
    init(rawValue rawValue: UInt)
    static var none: MTLBlitOption { get }
    static var depthFromDepthStencil: MTLBlitOption { get }
    static var stencilFromDepthStencil: MTLBlitOption { get }
    static var rowLinearPVRTC: MTLBlitOption { get }
    func intersect(_ other: MTLBlitOption) -> MTLBlitOption
    func exclusiveOr(_ other: MTLBlitOption) -> MTLBlitOption
    mutating func unionInPlace(_ other: MTLBlitOption)
    mutating func intersectInPlace(_ other: MTLBlitOption)
    mutating func exclusiveOrInPlace(_ other: MTLBlitOption)
    func isSubsetOf(_ other: MTLBlitOption) -> Bool
    func isDisjointWith(_ other: MTLBlitOption) -> Bool
    func isSupersetOf(_ other: MTLBlitOption) -> Bool
    mutating func subtractInPlace(_ other: MTLBlitOption)
    func isStrictSupersetOf(_ other: MTLBlitOption) -> Bool
    func isStrictSubsetOf(_ other: MTLBlitOption) -> Bool
}
extension MTLBlitOption {
    func union(_ other: MTLBlitOption) -> MTLBlitOption
    func intersection(_ other: MTLBlitOption) -> MTLBlitOption
    func symmetricDifference(_ other: MTLBlitOption) -> MTLBlitOption
}
extension MTLBlitOption {
    func contains(_ member: MTLBlitOption) -> Bool
    mutating func insert(_ newMember: MTLBlitOption) -> (inserted: Bool, memberAfterInsert: MTLBlitOption)
    mutating func remove(_ member: MTLBlitOption) -> MTLBlitOption?
    mutating func update(with newMember: MTLBlitOption) -> MTLBlitOption?
}
extension MTLBlitOption {
    convenience init()
    mutating func formUnion(_ other: MTLBlitOption)
    mutating func formIntersection(_ other: MTLBlitOption)
    mutating func formSymmetricDifference(_ other: MTLBlitOption)
}
extension MTLBlitOption {
    convenience init<S : Sequence where S.Iterator.Element == MTLBlitOption>(_ sequence: S)
    convenience init(arrayLiteral arrayLiteral: MTLBlitOption...)
    mutating func subtract(_ other: MTLBlitOption)
    func isSubset(of other: MTLBlitOption) -> Bool
    func isSuperset(of other: MTLBlitOption) -> Bool
    func isDisjoint(with other: MTLBlitOption) -> Bool
    func subtracting(_ other: MTLBlitOption) -> MTLBlitOption
    var isEmpty: Bool { get }
    func isStrictSuperset(of other: MTLBlitOption) -> Bool
    func isStrictSubset(of other: MTLBlitOption) -> Bool
}
OptionSet

Declaration
From
static var DepthFromDepthStencil: MTLBlitOption { get }
To
static var depthFromDepthStencil: MTLBlitOption { get }

Declaration
From
static var RowLinearPVRTC: MTLBlitOption { get }
To
static var rowLinearPVRTC: MTLBlitOption { get }

Declaration
From
static var StencilFromDepthStencil: MTLBlitOption { get }
To
static var stencilFromDepthStencil: MTLBlitOption { get }

Modified MTLBuffer
Declaration
From
protocol MTLBuffer : MTLResource {
    var length: Int { get }
    func contents() -> UnsafeMutablePointer<Void>
    func didModifyRange(_ range: NSRange)
    func newTextureWithDescriptor(_ descriptor: MTLTextureDescriptor, offset offset: Int, bytesPerRow bytesPerRow: Int) -> MTLTexture
}
To
protocol MTLBuffer : MTLResource {
    var length: Int { get }
    func contents() -> UnsafeMutableRawPointer
    func didModifyRange(_ range: NSRange)
    func makeTexture(descriptor descriptor: MTLTextureDescriptor, offset offset: Int, bytesPerRow bytesPerRow: Int) -> MTLTexture
    func addDebugMarker(_ marker: String, range range: NSRange)
    func removeAllDebugMarkers()
}

Declaration
From
func contents() -> UnsafeMutablePointer<Void>
To
func contents() -> UnsafeMutableRawPointer

Declaration
From
func newTextureWithDescriptor(_ descriptor: MTLTextureDescriptor, offset offset: Int, bytesPerRow bytesPerRow: Int) -> MTLTexture
To
func makeTexture(descriptor descriptor: MTLTextureDescriptor, offset offset: Int, bytesPerRow bytesPerRow: Int) -> MTLTexture

DeclarationProtocols
From
struct MTLColorWriteMask : OptionSetType {
    init(rawValue rawValue: UInt)
    static var None: MTLColorWriteMask { get }
    static var Red: MTLColorWriteMask { get }
    static var Green: MTLColorWriteMask { get }
    static var Blue: MTLColorWriteMask { get }
    static var Alpha: MTLColorWriteMask { get }
    static var All: MTLColorWriteMask { get }
}
OptionSetType
To
struct MTLColorWriteMask : OptionSet {
    init(rawValue rawValue: UInt)
    static var none: MTLColorWriteMask { get }
    static var red: MTLColorWriteMask { get }
    static var green: MTLColorWriteMask { get }
    static var blue: MTLColorWriteMask { get }
    static var alpha: MTLColorWriteMask { get }
    static var all: MTLColorWriteMask { get }
    func intersect(_ other: MTLColorWriteMask) -> MTLColorWriteMask
    func exclusiveOr(_ other: MTLColorWriteMask) -> MTLColorWriteMask
    mutating func unionInPlace(_ other: MTLColorWriteMask)
    mutating func intersectInPlace(_ other: MTLColorWriteMask)
    mutating func exclusiveOrInPlace(_ other: MTLColorWriteMask)
    func isSubsetOf(_ other: MTLColorWriteMask) -> Bool
    func isDisjointWith(_ other: MTLColorWriteMask) -> Bool
    func isSupersetOf(_ other: MTLColorWriteMask) -> Bool
    mutating func subtractInPlace(_ other: MTLColorWriteMask)
    func isStrictSupersetOf(_ other: MTLColorWriteMask) -> Bool
    func isStrictSubsetOf(_ other: MTLColorWriteMask) -> Bool
}
extension MTLColorWriteMask {
    func union(_ other: MTLColorWriteMask) -> MTLColorWriteMask
    func intersection(_ other: MTLColorWriteMask) -> MTLColorWriteMask
    func symmetricDifference(_ other: MTLColorWriteMask) -> MTLColorWriteMask
}
extension MTLColorWriteMask {
    func contains(_ member: MTLColorWriteMask) -> Bool
    mutating func insert(_ newMember: MTLColorWriteMask) -> (inserted: Bool, memberAfterInsert: MTLColorWriteMask)
    mutating func remove(_ member: MTLColorWriteMask) -> MTLColorWriteMask?
    mutating func update(with newMember: MTLColorWriteMask) -> MTLColorWriteMask?
}
extension MTLColorWriteMask {
    convenience init()
    mutating func formUnion(_ other: MTLColorWriteMask)
    mutating func formIntersection(_ other: MTLColorWriteMask)
    mutating func formSymmetricDifference(_ other: MTLColorWriteMask)
}
extension MTLColorWriteMask {
    convenience init<S : Sequence where S.Iterator.Element == MTLColorWriteMask>(_ sequence: S)
    convenience init(arrayLiteral arrayLiteral: MTLColorWriteMask...)
    mutating func subtract(_ other: MTLColorWriteMask)
    func isSubset(of other: MTLColorWriteMask) -> Bool
    func isSuperset(of other: MTLColorWriteMask) -> Bool
    func isDisjoint(with other: MTLColorWriteMask) -> Bool
    func subtracting(_ other: MTLColorWriteMask) -> MTLColorWriteMask
    var isEmpty: Bool { get }
    func isStrictSuperset(of other: MTLColorWriteMask) -> Bool
    func isStrictSubset(of other: MTLColorWriteMask) -> Bool
}
OptionSet

Declaration
From
static var All: MTLColorWriteMask { get }
To
static var all: MTLColorWriteMask { get }

Declaration
From
static var Alpha: MTLColorWriteMask { get }
To
static var alpha: MTLColorWriteMask { get }

Declaration
From
static var Blue: MTLColorWriteMask { get }
To
static var blue: MTLColorWriteMask { get }

Declaration
From
static var Green: MTLColorWriteMask { get }
To
static var green: MTLColorWriteMask { get }

Declaration
From
static var Red: MTLColorWriteMask { get }
To
static var red: MTLColorWriteMask { get }

Declaration
From
protocol MTLCommandBuffer : NSObjectProtocol {
    var device: MTLDevice { get }
    var commandQueue: MTLCommandQueue { get }
    var retainedReferences: Bool { get }
    var label: String? { get set }
    func enqueue()
    func commit()
    func addScheduledHandler(_ block: MTLCommandBufferHandler)
    func presentDrawable(_ drawable: MTLDrawable)
    func presentDrawable(_ drawable: MTLDrawable, atTime presentationTime: CFTimeInterval)
    func waitUntilScheduled()
    func addCompletedHandler(_ block: MTLCommandBufferHandler)
    func waitUntilCompleted()
    var status: MTLCommandBufferStatus { get }
    var error: NSError? { get }
    func blitCommandEncoder() -> MTLBlitCommandEncoder
    func renderCommandEncoderWithDescriptor(_ renderPassDescriptor: MTLRenderPassDescriptor) -> MTLRenderCommandEncoder
    func computeCommandEncoder() -> MTLComputeCommandEncoder
    func parallelRenderCommandEncoderWithDescriptor(_ renderPassDescriptor: MTLRenderPassDescriptor) -> MTLParallelRenderCommandEncoder
}
To
protocol MTLCommandBuffer : NSObjectProtocol {
    var device: MTLDevice { get }
    var commandQueue: MTLCommandQueue { get }
    var retainedReferences: Bool { get }
    var label: String? { get set }
    func enqueue()
    func commit()
    func addScheduledHandler(_ block: Metal.MTLCommandBufferHandler)
    func present(_ drawable: MTLDrawable)
    func present(_ drawable: MTLDrawable, atTime presentationTime: CFTimeInterval)
    func waitUntilScheduled()
    func addCompletedHandler(_ block: Metal.MTLCommandBufferHandler)
    func waitUntilCompleted()
    var status: MTLCommandBufferStatus { get }
    var error: Error? { get }
    func makeBlitCommandEncoder() -> MTLBlitCommandEncoder
    func makeRenderCommandEncoder(descriptor renderPassDescriptor: MTLRenderPassDescriptor) -> MTLRenderCommandEncoder
    func makeComputeCommandEncoder() -> MTLComputeCommandEncoder
    func makeParallelRenderCommandEncoder(descriptor renderPassDescriptor: MTLRenderPassDescriptor) -> MTLParallelRenderCommandEncoder
}

Declaration
From
func addCompletedHandler(_ block: MTLCommandBufferHandler)
To
func addCompletedHandler(_ block: Metal.MTLCommandBufferHandler)

Declaration
From
func addScheduledHandler(_ block: MTLCommandBufferHandler)
To
func addScheduledHandler(_ block: Metal.MTLCommandBufferHandler)

Declaration
From
var error: NSError? { get }
To
var error: Error? { get }

Declaration
From
func blitCommandEncoder() -> MTLBlitCommandEncoder
To
func makeBlitCommandEncoder() -> MTLBlitCommandEncoder

Declaration
From
func computeCommandEncoder() -> MTLComputeCommandEncoder
To
func makeComputeCommandEncoder() -> MTLComputeCommandEncoder

Declaration
From
func parallelRenderCommandEncoderWithDescriptor(_ renderPassDescriptor: MTLRenderPassDescriptor) -> MTLParallelRenderCommandEncoder
To
func makeParallelRenderCommandEncoder(descriptor renderPassDescriptor: MTLRenderPassDescriptor) -> MTLParallelRenderCommandEncoder

Declaration
From
func renderCommandEncoderWithDescriptor(_ renderPassDescriptor: MTLRenderPassDescriptor) -> MTLRenderCommandEncoder
To
func makeRenderCommandEncoder(descriptor renderPassDescriptor: MTLRenderPassDescriptor) -> MTLRenderCommandEncoder

Declaration
From
func presentDrawable(_ drawable: MTLDrawable)
To
func present(_ drawable: MTLDrawable)

Declaration
From
func presentDrawable(_ drawable: MTLDrawable, atTime presentationTime: CFTimeInterval)
To
func present(_ drawable: MTLDrawable, atTime presentationTime: CFTimeInterval)

Declaration
From
enum MTLCommandBufferError : UInt {
    case None
    case Internal
    case Timeout
    case PageFault
    case Blacklisted
    case NotPermitted
    case OutOfMemory
    case InvalidResource
}
To
enum MTLCommandBufferErrorDomain : UInt {
    case none
    case `internal`
    case timeout
    case pageFault
    case blacklisted
    case notPermitted
    case outOfMemory
    case invalidResource
    case memoryless
}

Declaration
From
case Blacklisted
To
case blacklisted

Declaration
From
case Internal
To
case `internal`

Declaration
From
case InvalidResource
To
case invalidResource

Declaration
From
case None
To
case none

Declaration
From
case NotPermitted
To
case notPermitted

Declaration
From
case OutOfMemory
To
case outOfMemory

Declaration
From
case PageFault
To
case pageFault

Declaration
From
case Timeout
To
case timeout

Declaration
From
enum MTLCommandBufferStatus : UInt {
    case NotEnqueued
    case Enqueued
    case Committed
    case Scheduled
    case Completed
    case Error
}
To
enum MTLCommandBufferStatus : UInt {
    case notEnqueued
    case enqueued
    case committed
    case scheduled
    case completed
    case error
}

Declaration
From
case Committed
To
case committed

Declaration
From
case Completed
To
case completed

Declaration
From
case Enqueued
To
case enqueued

Declaration
From
case Error
To
case error

Declaration
From
case NotEnqueued
To
case notEnqueued

Declaration
From
case Scheduled
To
case scheduled

Declaration
From
protocol MTLCommandQueue : NSObjectProtocol {
    var label: String? { get set }
    var device: MTLDevice { get }
    func commandBuffer() -> MTLCommandBuffer
    func commandBufferWithUnretainedReferences() -> MTLCommandBuffer
    func insertDebugCaptureBoundary()
}
To
protocol MTLCommandQueue : NSObjectProtocol {
    var label: String? { get set }
    var device: MTLDevice { get }
    func makeCommandBuffer() -> MTLCommandBuffer
    func makeCommandBufferWithUnretainedReferences() -> MTLCommandBuffer
    func insertDebugCaptureBoundary()
}

Declaration
From
func commandBuffer() -> MTLCommandBuffer
To
func makeCommandBuffer() -> MTLCommandBuffer

Declaration
From
func commandBufferWithUnretainedReferences() -> MTLCommandBuffer
To
func makeCommandBufferWithUnretainedReferences() -> MTLCommandBuffer

Declaration
From
enum MTLCompareFunction : UInt {
    case Never
    case Less
    case Equal
    case LessEqual
    case Greater
    case NotEqual
    case GreaterEqual
    case Always
}
To
enum MTLCompareFunction : UInt {
    case never
    case less
    case equal
    case lessEqual
    case greater
    case notEqual
    case greaterEqual
    case always
}

Declaration
From
case Always
To
case always

Declaration
From
case Equal
To
case equal

Declaration
From
case Greater
To
case greater

Declaration
From
case GreaterEqual
To
case greaterEqual

Declaration
From
case Less
To
case less

Declaration
From
case LessEqual
To
case lessEqual

Declaration
From
case Never
To
case never

Declaration
From
case NotEqual
To
case notEqual

DeclarationProtocols
From
class MTLCompileOptions : NSObject, NSCopying {
    var preprocessorMacros: [String : NSObject]?
    var fastMathEnabled: Bool
    var languageVersion: MTLLanguageVersion
}
NSCopying
To
class MTLCompileOptions : NSObject, NSCopying {
    var preprocessorMacros: [String : NSObject]?
    var fastMathEnabled: Bool
    var languageVersion: MTLLanguageVersion
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLCompileOptions : CVarArg {
}
extension MTLCompileOptions : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

Declaration
From
protocol MTLComputeCommandEncoder : MTLCommandEncoder {
    func setComputePipelineState(_ state: MTLComputePipelineState)
    func setBytes(_ bytes: UnsafePointer<Void>, length length: Int, atIndex index: Int)
    func setBuffer(_ buffer: MTLBuffer?, offset offset: Int, atIndex index: Int)
    func setBufferOffset(_ offset: Int, atIndex index: Int)
    func setBuffers(_ buffers: UnsafePointer<MTLBuffer?>, offsets offsets: UnsafePointer<Int>, withRange range: NSRange)
    func setTexture(_ texture: MTLTexture?, atIndex index: Int)
    func setTextures(_ textures: UnsafePointer<MTLTexture?>, withRange range: NSRange)
    func setSamplerState(_ sampler: MTLSamplerState?, atIndex index: Int)
    func setSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>, withRange range: NSRange)
    func setSamplerState(_ sampler: MTLSamplerState?, lodMinClamp lodMinClamp: Float, lodMaxClamp lodMaxClamp: Float, atIndex index: Int)
    func setSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>, lodMinClamps lodMinClamps: UnsafePointer<Float>, lodMaxClamps lodMaxClamps: UnsafePointer<Float>, withRange range: NSRange)
    func setThreadgroupMemoryLength(_ length: Int, atIndex index: Int)
    func dispatchThreadgroups(_ threadgroupsPerGrid: MTLSize, threadsPerThreadgroup threadsPerThreadgroup: MTLSize)
    func dispatchThreadgroupsWithIndirectBuffer(_ indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int, threadsPerThreadgroup threadsPerThreadgroup: MTLSize)
}
To
protocol MTLComputeCommandEncoder : MTLCommandEncoder {
    func setComputePipelineState(_ state: MTLComputePipelineState)
    func setBytes(_ bytes: UnsafeRawPointer, length length: Int, at index: Int)
    func setBuffer(_ buffer: MTLBuffer?, offset offset: Int, at index: Int)
    func setBufferOffset(_ offset: Int, at index: Int)
    func setBuffers(_ buffers: UnsafePointer<MTLBuffer?>!, offsets offsets: UnsafePointer<Int>!, with range: NSRange)
    func setTexture(_ texture: MTLTexture?, at index: Int)
    func setTextures(_ textures: UnsafePointer<MTLTexture?>!, with range: NSRange)
    func setSamplerState(_ sampler: MTLSamplerState?, at index: Int)
    func setSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>!, with range: NSRange)
    func setSamplerState(_ sampler: MTLSamplerState?, lodMinClamp lodMinClamp: Float, lodMaxClamp lodMaxClamp: Float, at index: Int)
    func setSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>!, lodMinClamps lodMinClamps: UnsafePointer<Float>!, lodMaxClamps lodMaxClamps: UnsafePointer<Float>!, with range: NSRange)
    func setThreadgroupMemoryLength(_ length: Int, at index: Int)
    func setStageInRegion(_ region: MTLRegion)
    func dispatchThreadgroups(_ threadgroupsPerGrid: MTLSize, threadsPerThreadgroup threadsPerThreadgroup: MTLSize)
    func dispatchThreadgroups(indirectBuffer indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int, threadsPerThreadgroup threadsPerThreadgroup: MTLSize)
    func updateFence(_ fence: MTLFence)
    func waitForFence(_ fence: MTLFence)
}

Declaration
From
func dispatchThreadgroupsWithIndirectBuffer(_ indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int, threadsPerThreadgroup threadsPerThreadgroup: MTLSize)
To
func dispatchThreadgroups(indirectBuffer indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int, threadsPerThreadgroup threadsPerThreadgroup: MTLSize)

Declaration
From
func setBuffer(_ buffer: MTLBuffer?, offset offset: Int, atIndex index: Int)
To
func setBuffer(_ buffer: MTLBuffer?, offset offset: Int, at index: Int)

Declaration
From
func setBufferOffset(_ offset: Int, atIndex index: Int)
To
func setBufferOffset(_ offset: Int, at index: Int)

Declaration
From
func setBuffers(_ buffers: UnsafePointer<MTLBuffer?>, offsets offsets: UnsafePointer<Int>, withRange range: NSRange)
To
func setBuffers(_ buffers: UnsafePointer<MTLBuffer?>!, offsets offsets: UnsafePointer<Int>!, with range: NSRange)

Declaration
From
func setBytes(_ bytes: UnsafePointer<Void>, length length: Int, atIndex index: Int)
To
func setBytes(_ bytes: UnsafeRawPointer, length length: Int, at index: Int)

Declaration
From
func setSamplerState(_ sampler: MTLSamplerState?, atIndex index: Int)
To
func setSamplerState(_ sampler: MTLSamplerState?, at index: Int)

Declaration
From
func setSamplerState(_ sampler: MTLSamplerState?, lodMinClamp lodMinClamp: Float, lodMaxClamp lodMaxClamp: Float, atIndex index: Int)
To
func setSamplerState(_ sampler: MTLSamplerState?, lodMinClamp lodMinClamp: Float, lodMaxClamp lodMaxClamp: Float, at index: Int)

Declaration
From
func setSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>, lodMinClamps lodMinClamps: UnsafePointer<Float>, lodMaxClamps lodMaxClamps: UnsafePointer<Float>, withRange range: NSRange)
To
func setSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>!, lodMinClamps lodMinClamps: UnsafePointer<Float>!, lodMaxClamps lodMaxClamps: UnsafePointer<Float>!, with range: NSRange)

Declaration
From
func setSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>, withRange range: NSRange)
To
func setSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>!, with range: NSRange)

Declaration
From
func setTexture(_ texture: MTLTexture?, atIndex index: Int)
To
func setTexture(_ texture: MTLTexture?, at index: Int)

Declaration
From
func setTextures(_ textures: UnsafePointer<MTLTexture?>, withRange range: NSRange)
To
func setTextures(_ textures: UnsafePointer<MTLTexture?>!, with range: NSRange)

Declaration
From
func setThreadgroupMemoryLength(_ length: Int, atIndex index: Int)
To
func setThreadgroupMemoryLength(_ length: Int, at index: Int)

DeclarationProtocols
From
class MTLComputePipelineDescriptor : NSObject, NSCopying {
    var label: String?
    var computeFunction: MTLFunction?
    var threadGroupSizeIsMultipleOfThreadExecutionWidth: Bool
    func reset()
}
NSCopying
To
class MTLComputePipelineDescriptor : NSObject, NSCopying {
    var label: String?
    var computeFunction: MTLFunction?
    var threadGroupSizeIsMultipleOfThreadExecutionWidth: Bool
    @NSCopying var stageInputDescriptor: MTLStageInputOutputDescriptor?
    func reset()
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLComputePipelineDescriptor : CVarArg {
}
extension MTLComputePipelineDescriptor : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

DeclarationProtocols
From
class MTLComputePipelineReflection : NSObject {
    var arguments: [MTLArgument] { get }
}
--
To
class MTLComputePipelineReflection : NSObject {
    var arguments: [MTLArgument] { get }
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLComputePipelineReflection : CVarArg {
}
extension MTLComputePipelineReflection : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
enum MTLCPUCacheMode : UInt {
    case DefaultCache
    case WriteCombined
}
To
enum MTLCPUCacheMode : UInt {
    case defaultCache
    case writeCombined
}

Declaration
From
case DefaultCache
To
case defaultCache

Declaration
From
case WriteCombined
To
case writeCombined

Declaration
From
enum MTLCullMode : UInt {
    case None
    case Front
    case Back
}
To
enum MTLCullMode : UInt {
    case none
    case front
    case back
}

Declaration
From
case Back
To
case back

Declaration
From
case Front
To
case front

Declaration
From
case None
To
case none

Declaration
From
enum MTLDataType : UInt {
    case None
    case Struct
    case Array
    case Float
    case Float2
    case Float3
    case Float4
    case Float2x2
    case Float2x3
    case Float2x4
    case Float3x2
    case Float3x3
    case Float3x4
    case Float4x2
    case Float4x3
    case Float4x4
    case Half
    case Half2
    case Half3
    case Half4
    case Half2x2
    case Half2x3
    case Half2x4
    case Half3x2
    case Half3x3
    case Half3x4
    case Half4x2
    case Half4x3
    case Half4x4
    case Int
    case Int2
    case Int3
    case Int4
    case UInt
    case UInt2
    case UInt3
    case UInt4
    case Short
    case Short2
    case Short3
    case Short4
    case UShort
    case UShort2
    case UShort3
    case UShort4
    case Char
    case Char2
    case Char3
    case Char4
    case UChar
    case UChar2
    case UChar3
    case UChar4
    case Bool
    case Bool2
    case Bool3
    case Bool4
}
To
enum MTLDataType : UInt {
    case none
    case `struct`
    case array
    case float
    case float2
    case float3
    case float4
    case float2x2
    case float2x3
    case float2x4
    case float3x2
    case float3x3
    case float3x4
    case float4x2
    case float4x3
    case float4x4
    case half
    case half2
    case half3
    case half4
    case half2x2
    case half2x3
    case half2x4
    case half3x2
    case half3x3
    case half3x4
    case half4x2
    case half4x3
    case half4x4
    case int
    case int2
    case int3
    case int4
    case uint
    case uint2
    case uint3
    case uint4
    case short
    case short2
    case short3
    case short4
    case ushort
    case ushort2
    case ushort3
    case ushort4
    case char
    case char2
    case char3
    case char4
    case uchar
    case uchar2
    case uchar3
    case uchar4
    case bool
    case bool2
    case bool3
    case bool4
}

Declaration
From
case Array
To
case array

Declaration
From
case Bool
To
case bool

Declaration
From
case Bool2
To
case bool2

Declaration
From
case Bool3
To
case bool3

Declaration
From
case Bool4
To
case bool4

Declaration
From
case Char
To
case char

Declaration
From
case Char2
To
case char2

Declaration
From
case Char3
To
case char3

Declaration
From
case Char4
To
case char4

Declaration
From
case Float
To
case float

Declaration
From
case Float2
To
case float2

Declaration
From
case Float2x2
To
case float2x2

Declaration
From
case Float2x3
To
case float2x3

Declaration
From
case Float2x4
To
case float2x4

Declaration
From
case Float3
To
case float3

Declaration
From
case Float3x2
To
case float3x2

Declaration
From
case Float3x3
To
case float3x3

Declaration
From
case Float3x4
To
case float3x4

Declaration
From
case Float4
To
case float4

Declaration
From
case Float4x2
To
case float4x2

Declaration
From
case Float4x3
To
case float4x3

Declaration
From
case Float4x4
To
case float4x4

Declaration
From
case Half
To
case half

Declaration
From
case Half2
To
case half2

Declaration
From
case Half2x2
To
case half2x2

Declaration
From
case Half2x3
To
case half2x3

Declaration
From
case Half2x4
To
case half2x4

Declaration
From
case Half3
To
case half3

Declaration
From
case Half3x2
To
case half3x2

Declaration
From
case Half3x3
To
case half3x3

Declaration
From
case Half3x4
To
case half3x4

Declaration
From
case Half4
To
case half4

Declaration
From
case Half4x2
To
case half4x2

Declaration
From
case Half4x3
To
case half4x3

Declaration
From
case Half4x4
To
case half4x4

Declaration
From
case Int
To
case int

Declaration
From
case Int2
To
case int2

Declaration
From
case Int3
To
case int3

Declaration
From
case Int4
To
case int4

Declaration
From
case None
To
case none

Declaration
From
case Short
To
case short

Declaration
From
case Short2
To
case short2

Declaration
From
case Short3
To
case short3

Declaration
From
case Short4
To
case short4

Declaration
From
case Struct
To
case `struct`

Declaration
From
case UChar
To
case uchar

Declaration
From
case UChar2
To
case uchar2

Declaration
From
case UChar3
To
case uchar3

Declaration
From
case UChar4
To
case uchar4

Declaration
From
case UInt
To
case uint

Declaration
From
case UInt2
To
case uint2

Declaration
From
case UInt3
To
case uint3

Declaration
From
case UInt4
To
case uint4

Declaration
From
case UShort
To
case ushort

Declaration
From
case UShort2
To
case ushort2

Declaration
From
case UShort3
To
case ushort3

Declaration
From
case UShort4
To
case ushort4

Declaration
From
enum MTLDepthClipMode : UInt {
    case Clip
    case Clamp
}
To
enum MTLDepthClipMode : UInt {
    case clip
    case clamp
}

Declaration
From
case Clamp
To
case clamp

Declaration
From
case Clip
To
case clip

DeclarationProtocols
From
class MTLDepthStencilDescriptor : NSObject, NSCopying {
    var depthCompareFunction: MTLCompareFunction
    var depthWriteEnabled: Bool
    @NSCopying var frontFaceStencil: MTLStencilDescriptor!
    @NSCopying var backFaceStencil: MTLStencilDescriptor!
    var label: String?
}
NSCopying
To
class MTLDepthStencilDescriptor : NSObject, NSCopying {
    var depthCompareFunction: MTLCompareFunction
    var isDepthWriteEnabled: Bool
    @NSCopying var frontFaceStencil: MTLStencilDescriptor!
    @NSCopying var backFaceStencil: MTLStencilDescriptor!
    var label: String?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLDepthStencilDescriptor : CVarArg {
}
extension MTLDepthStencilDescriptor : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

Declaration
From
var depthWriteEnabled: Bool
To
var isDepthWriteEnabled: Bool

Modified MTLDevice
Declaration
From
protocol MTLDevice : NSObjectProtocol {
    var name: String? { get }
    var maxThreadsPerThreadgroup: MTLSize { get }
    var lowPower: Bool { get }
    var headless: Bool { get }
    var depth24Stencil8PixelFormatSupported: Bool { get }
    func newCommandQueue() -> MTLCommandQueue
    func newCommandQueueWithMaxCommandBufferCount(_ maxCommandBufferCount: Int) -> MTLCommandQueue
    func newBufferWithLength(_ length: Int, options options: MTLResourceOptions) -> MTLBuffer
    func newBufferWithBytes(_ pointer: UnsafePointer<Void>, length length: Int, options options: MTLResourceOptions) -> MTLBuffer
    func newBufferWithBytesNoCopy(_ pointer: UnsafeMutablePointer<Void>, length length: Int, options options: MTLResourceOptions, deallocator deallocator: ((UnsafeMutablePointer<Void>, Int) -> Void)?) -> MTLBuffer
    func newDepthStencilStateWithDescriptor(_ descriptor: MTLDepthStencilDescriptor) -> MTLDepthStencilState
    func newTextureWithDescriptor(_ descriptor: MTLTextureDescriptor) -> MTLTexture
    func newSamplerStateWithDescriptor(_ descriptor: MTLSamplerDescriptor) -> MTLSamplerState
    func newDefaultLibrary() -> MTLLibrary?
    func newLibraryWithFile(_ filepath: String) throws -> MTLLibrary
    func newLibraryWithData(_ data: dispatch_data_t) throws -> MTLLibrary
    func newLibraryWithSource(_ source: String, options options: MTLCompileOptions?) throws -> MTLLibrary
    func newLibraryWithSource(_ source: String, options options: MTLCompileOptions?, completionHandler completionHandler: MTLNewLibraryCompletionHandler)
    func newRenderPipelineStateWithDescriptor(_ descriptor: MTLRenderPipelineDescriptor) throws -> MTLRenderPipelineState
    func newRenderPipelineStateWithDescriptor(_ descriptor: MTLRenderPipelineDescriptor, options options: MTLPipelineOption, reflection reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedRenderPipelineReflection?>) throws -> MTLRenderPipelineState
    func newRenderPipelineStateWithDescriptor(_ descriptor: MTLRenderPipelineDescriptor, completionHandler completionHandler: MTLNewRenderPipelineStateCompletionHandler)
    func newRenderPipelineStateWithDescriptor(_ descriptor: MTLRenderPipelineDescriptor, options options: MTLPipelineOption, completionHandler completionHandler: MTLNewRenderPipelineStateWithReflectionCompletionHandler)
    func newComputePipelineStateWithFunction(_ computeFunction: MTLFunction) throws -> MTLComputePipelineState
    func newComputePipelineStateWithFunction(_ computeFunction: MTLFunction, options options: MTLPipelineOption, reflection reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedComputePipelineReflection?>) throws -> MTLComputePipelineState
    func newComputePipelineStateWithFunction(_ computeFunction: MTLFunction, completionHandler completionHandler: MTLNewComputePipelineStateCompletionHandler)
    func newComputePipelineStateWithFunction(_ computeFunction: MTLFunction, options options: MTLPipelineOption, completionHandler completionHandler: MTLNewComputePipelineStateWithReflectionCompletionHandler)
    func newComputePipelineStateWithDescriptor(_ descriptor: MTLComputePipelineDescriptor, options options: MTLPipelineOption, reflection reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedComputePipelineReflection?>) throws -> MTLComputePipelineState
    func newComputePipelineStateWithDescriptor(_ descriptor: MTLComputePipelineDescriptor, options options: MTLPipelineOption, completionHandler completionHandler: MTLNewComputePipelineStateWithReflectionCompletionHandler)
    func supportsFeatureSet(_ featureSet: MTLFeatureSet) -> Bool
    func supportsTextureSampleCount(_ sampleCount: Int) -> Bool
}
To
protocol MTLDevice : NSObjectProtocol {
    var name: String? { get }
    var maxThreadsPerThreadgroup: MTLSize { get }
    var isLowPower: Bool { get }
    var isHeadless: Bool { get }
    var recommendedMaxWorkingSetSize: UInt64 { get }
    var isDepth24Stencil8PixelFormatSupported: Bool { get }
    func makeCommandQueue() -> MTLCommandQueue
    func makeCommandQueue(maxCommandBufferCount maxCommandBufferCount: Int) -> MTLCommandQueue
    func heapTextureSizeAndAlign(descriptor desc: MTLTextureDescriptor) -> MTLSizeAndAlign
    func heapBufferSizeAndAlign(length length: Int, options options: MTLResourceOptions = []) -> MTLSizeAndAlign
    func makeHeap(descriptor descriptor: MTLHeapDescriptor) -> MTLHeap
    func makeBuffer(length length: Int, options options: MTLResourceOptions = []) -> MTLBuffer
    func makeBuffer(bytes pointer: UnsafeRawPointer, length length: Int, options options: MTLResourceOptions = []) -> MTLBuffer
    func makeBuffer(bytesNoCopy pointer: UnsafeMutableRawPointer, length length: Int, options options: MTLResourceOptions = [], deallocator deallocator: (@escaping (UnsafeMutableRawPointer, Int) -> Swift.Void)? = nil) -> MTLBuffer
    func makeDepthStencilState(descriptor descriptor: MTLDepthStencilDescriptor) -> MTLDepthStencilState
    func makeTexture(descriptor descriptor: MTLTextureDescriptor) -> MTLTexture
    func makeSamplerState(descriptor descriptor: MTLSamplerDescriptor) -> MTLSamplerState
    func newDefaultLibrary() -> MTLLibrary?
    func makeDefaultLibrary(bundle bundle: Bundle) throws -> MTLLibrary
    func makeLibrary(filepath filepath: String) throws -> MTLLibrary
    func makeLibrary(data data: __DispatchData) throws -> MTLLibrary
    func makeLibrary(source source: String, options options: MTLCompileOptions?) throws -> MTLLibrary
    func makeLibrary(source source: String, options options: MTLCompileOptions?, completionHandler completionHandler: Metal.MTLNewLibraryCompletionHandler)
    func makeRenderPipelineState(descriptor descriptor: MTLRenderPipelineDescriptor) throws -> MTLRenderPipelineState
    func makeRenderPipelineState(descriptor descriptor: MTLRenderPipelineDescriptor, options options: MTLPipelineOption, reflection reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedRenderPipelineReflection?>?) throws -> MTLRenderPipelineState
    func makeRenderPipelineState(descriptor descriptor: MTLRenderPipelineDescriptor, completionHandler completionHandler: Metal.MTLNewRenderPipelineStateCompletionHandler)
    func makeRenderPipelineState(descriptor descriptor: MTLRenderPipelineDescriptor, options options: MTLPipelineOption, completionHandler completionHandler: Metal.MTLNewRenderPipelineStateWithReflectionCompletionHandler)
    func makeComputePipelineState(function computeFunction: MTLFunction) throws -> MTLComputePipelineState
    func makeComputePipelineState(function computeFunction: MTLFunction, options options: MTLPipelineOption, reflection reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedComputePipelineReflection?>?) throws -> MTLComputePipelineState
    func makeComputePipelineState(function computeFunction: MTLFunction, completionHandler completionHandler: Metal.MTLNewComputePipelineStateCompletionHandler)
    func makeComputePipelineState(function computeFunction: MTLFunction, options options: MTLPipelineOption, completionHandler completionHandler: Metal.MTLNewComputePipelineStateWithReflectionCompletionHandler)
    func makeComputePipelineState(descriptor descriptor: MTLComputePipelineDescriptor, options options: MTLPipelineOption, reflection reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedComputePipelineReflection?>?) throws -> MTLComputePipelineState
    func makeComputePipelineState(descriptor descriptor: MTLComputePipelineDescriptor, options options: MTLPipelineOption, completionHandler completionHandler: Metal.MTLNewComputePipelineStateWithReflectionCompletionHandler)
    func makeFence() -> MTLFence
    func supportsFeatureSet(_ featureSet: MTLFeatureSet) -> Bool
    func supportsTextureSampleCount(_ sampleCount: Int) -> Bool
}

Declaration
From
func newBufferWithBytes(_ pointer: UnsafePointer<Void>, length length: Int, options options: MTLResourceOptions) -> MTLBuffer
To
func makeBuffer(bytes pointer: UnsafeRawPointer, length length: Int, options options: MTLResourceOptions = []) -> MTLBuffer

Declaration
From
func newBufferWithBytesNoCopy(_ pointer: UnsafeMutablePointer<Void>, length length: Int, options options: MTLResourceOptions, deallocator deallocator: ((UnsafeMutablePointer<Void>, Int) -> Void)?) -> MTLBuffer
To
func makeBuffer(bytesNoCopy pointer: UnsafeMutableRawPointer, length length: Int, options options: MTLResourceOptions = [], deallocator deallocator: (@escaping (UnsafeMutableRawPointer, Int) -> Swift.Void)? = nil) -> MTLBuffer

Declaration
From
func newBufferWithLength(_ length: Int, options options: MTLResourceOptions) -> MTLBuffer
To
func makeBuffer(length length: Int, options options: MTLResourceOptions = []) -> MTLBuffer

Declaration
From
func newCommandQueue() -> MTLCommandQueue
To
func makeCommandQueue() -> MTLCommandQueue

Declaration
From
func newCommandQueueWithMaxCommandBufferCount(_ maxCommandBufferCount: Int) -> MTLCommandQueue
To
func makeCommandQueue(maxCommandBufferCount maxCommandBufferCount: Int) -> MTLCommandQueue

Declaration
From
func newComputePipelineStateWithDescriptor(_ descriptor: MTLComputePipelineDescriptor, options options: MTLPipelineOption, completionHandler completionHandler: MTLNewComputePipelineStateWithReflectionCompletionHandler)
To
func makeComputePipelineState(descriptor descriptor: MTLComputePipelineDescriptor, options options: MTLPipelineOption, completionHandler completionHandler: Metal.MTLNewComputePipelineStateWithReflectionCompletionHandler)

Declaration
From
func newComputePipelineStateWithDescriptor(_ descriptor: MTLComputePipelineDescriptor, options options: MTLPipelineOption, reflection reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedComputePipelineReflection?>) throws -> MTLComputePipelineState
To
func makeComputePipelineState(descriptor descriptor: MTLComputePipelineDescriptor, options options: MTLPipelineOption, reflection reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedComputePipelineReflection?>?) throws -> MTLComputePipelineState

Declaration
From
func newComputePipelineStateWithFunction(_ computeFunction: MTLFunction) throws -> MTLComputePipelineState
To
func makeComputePipelineState(function computeFunction: MTLFunction) throws -> MTLComputePipelineState

Declaration
From
func newComputePipelineStateWithFunction(_ computeFunction: MTLFunction, completionHandler completionHandler: MTLNewComputePipelineStateCompletionHandler)
To
func makeComputePipelineState(function computeFunction: MTLFunction, completionHandler completionHandler: Metal.MTLNewComputePipelineStateCompletionHandler)

Declaration
From
func newComputePipelineStateWithFunction(_ computeFunction: MTLFunction, options options: MTLPipelineOption, completionHandler completionHandler: MTLNewComputePipelineStateWithReflectionCompletionHandler)
To
func makeComputePipelineState(function computeFunction: MTLFunction, options options: MTLPipelineOption, completionHandler completionHandler: Metal.MTLNewComputePipelineStateWithReflectionCompletionHandler)

Declaration
From
func newComputePipelineStateWithFunction(_ computeFunction: MTLFunction, options options: MTLPipelineOption, reflection reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedComputePipelineReflection?>) throws -> MTLComputePipelineState
To
func makeComputePipelineState(function computeFunction: MTLFunction, options options: MTLPipelineOption, reflection reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedComputePipelineReflection?>?) throws -> MTLComputePipelineState

Declaration
From
func newDepthStencilStateWithDescriptor(_ descriptor: MTLDepthStencilDescriptor) -> MTLDepthStencilState
To
func makeDepthStencilState(descriptor descriptor: MTLDepthStencilDescriptor) -> MTLDepthStencilState

Declaration
From
func newLibraryWithData(_ data: dispatch_data_t) throws -> MTLLibrary
To
func makeLibrary(data data: __DispatchData) throws -> MTLLibrary

Declaration
From
func newLibraryWithFile(_ filepath: String) throws -> MTLLibrary
To
func makeLibrary(filepath filepath: String) throws -> MTLLibrary

Declaration
From
func newLibraryWithSource(_ source: String, options options: MTLCompileOptions?) throws -> MTLLibrary
To
func makeLibrary(source source: String, options options: MTLCompileOptions?) throws -> MTLLibrary

Declaration
From
func newLibraryWithSource(_ source: String, options options: MTLCompileOptions?, completionHandler completionHandler: MTLNewLibraryCompletionHandler)
To
func makeLibrary(source source: String, options options: MTLCompileOptions?, completionHandler completionHandler: Metal.MTLNewLibraryCompletionHandler)

Declaration
From
func newRenderPipelineStateWithDescriptor(_ descriptor: MTLRenderPipelineDescriptor) throws -> MTLRenderPipelineState
To
func makeRenderPipelineState(descriptor descriptor: MTLRenderPipelineDescriptor) throws -> MTLRenderPipelineState

Declaration
From
func newRenderPipelineStateWithDescriptor(_ descriptor: MTLRenderPipelineDescriptor, completionHandler completionHandler: MTLNewRenderPipelineStateCompletionHandler)
To
func makeRenderPipelineState(descriptor descriptor: MTLRenderPipelineDescriptor, completionHandler completionHandler: Metal.MTLNewRenderPipelineStateCompletionHandler)

Declaration
From
func newRenderPipelineStateWithDescriptor(_ descriptor: MTLRenderPipelineDescriptor, options options: MTLPipelineOption, completionHandler completionHandler: MTLNewRenderPipelineStateWithReflectionCompletionHandler)
To
func makeRenderPipelineState(descriptor descriptor: MTLRenderPipelineDescriptor, options options: MTLPipelineOption, completionHandler completionHandler: Metal.MTLNewRenderPipelineStateWithReflectionCompletionHandler)

Declaration
From
func newRenderPipelineStateWithDescriptor(_ descriptor: MTLRenderPipelineDescriptor, options options: MTLPipelineOption, reflection reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedRenderPipelineReflection?>) throws -> MTLRenderPipelineState
To
func makeRenderPipelineState(descriptor descriptor: MTLRenderPipelineDescriptor, options options: MTLPipelineOption, reflection reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedRenderPipelineReflection?>?) throws -> MTLRenderPipelineState

Declaration
From
func newSamplerStateWithDescriptor(_ descriptor: MTLSamplerDescriptor) -> MTLSamplerState
To
func makeSamplerState(descriptor descriptor: MTLSamplerDescriptor) -> MTLSamplerState

Declaration
From
func newTextureWithDescriptor(_ descriptor: MTLTextureDescriptor) -> MTLTexture
To
func makeTexture(descriptor descriptor: MTLTextureDescriptor) -> MTLTexture

Modified MTLDrawable
Declaration
From
protocol MTLDrawable : NSObjectProtocol {
    func present()
    func presentAtTime(_ presentationTime: CFTimeInterval)
}
To
protocol MTLDrawable : NSObjectProtocol {
    func present()
    func present(at presentationTime: CFTimeInterval)
}

Declaration
From
func presentAtTime(_ presentationTime: CFTimeInterval)
To
func present(at presentationTime: CFTimeInterval)

Declaration
From
enum MTLFeatureSet : UInt {
    case iOS_GPUFamily1_v1
    case iOS_GPUFamily2_v1
    case iOS_GPUFamily1_v2
    case iOS_GPUFamily2_v2
    case iOS_GPUFamily3_v1
    case OSX_GPUFamily1_v1
    case TVOS_GPUFamily1_v1
}
To
enum MTLFeatureSet : UInt {
    case iOS_GPUFamily1_v1
    case iOS_GPUFamily2_v1
    case iOS_GPUFamily1_v2
    case iOS_GPUFamily2_v2
    case iOS_GPUFamily3_v1
    case iOS_GPUFamily1_v3
    case iOS_GPUFamily2_v3
    case iOS_GPUFamily3_v2
    case osx_GPUFamily1_v1
    case osx_GPUFamily1_v2
    case osx_ReadWriteTextureTier2
    case tvOS_GPUFamily1_v1
    case tvOS_GPUFamily1_v2
}

Modified MTLFunction
Declaration
From
protocol MTLFunction : NSObjectProtocol {
    var device: MTLDevice { get }
    var functionType: MTLFunctionType { get }
    var vertexAttributes: [MTLVertexAttribute]? { get }
    var name: String { get }
}
To
protocol MTLFunction : NSObjectProtocol {
    var label: String? { get set }
    var device: MTLDevice { get }
    var functionType: MTLFunctionType { get }
    var patchType: MTLPatchType { get }
    var patchControlPointCount: Int { get }
    var vertexAttributes: [MTLVertexAttribute]? { get }
    var stageInputAttributes: [MTLAttribute]? { get }
    var name: String { get }
    var functionConstantsDictionary: [String : MTLFunctionConstant] { get }
}

Declaration
From
enum MTLFunctionType : UInt {
    case Vertex
    case Fragment
    case Kernel
}
To
enum MTLFunctionType : UInt {
    case vertex
    case fragment
    case kernel
}

Declaration
From
case Fragment
To
case fragment

Declaration
From
case Kernel
To
case kernel

Declaration
From
case Vertex
To
case vertex

Declaration
From
enum MTLIndexType : UInt {
    case UInt16
    case UInt32
}
To
enum MTLIndexType : UInt {
    case uint16
    case uint32
}

Declaration
From
case UInt16
To
case uint16

Declaration
From
case UInt32
To
case uint32

Declaration
From
enum MTLLanguageVersion : UInt {
    case Version1_0
    case Version1_1
}
To
enum MTLLanguageVersion : UInt {
    case version1_0
    case version1_1
    case version1_2
}

Declaration
From
case Version1_0
To
case version1_0

Declaration
From
case Version1_1
To
case version1_1

Modified MTLLibrary
Declaration
From
protocol MTLLibrary : NSObjectProtocol {
    var label: String? { get set }
    var device: MTLDevice { get }
    func newFunctionWithName(_ functionName: String) -> MTLFunction?
    var functionNames: [String] { get }
}
To
protocol MTLLibrary : NSObjectProtocol {
    var label: String? { get set }
    var device: MTLDevice { get }
    func makeFunction(name functionName: String) -> MTLFunction?
    func makeFunction(name name: String, constantValues constantValues: MTLFunctionConstantValues) throws -> MTLFunction
    func makeFunction(name name: String, constantValues constantValues: MTLFunctionConstantValues, completionHandler completionHandler: @escaping (MTLFunction?, Error) -> Swift.Void)
    var functionNames: [String] { get }
}

Declaration
From
func newFunctionWithName(_ functionName: String) -> MTLFunction?
To
func makeFunction(name functionName: String) -> MTLFunction?

Declaration
From
enum MTLLibraryError : UInt {
    case Unsupported
    case Internal
    case CompileFailure
    case CompileWarning
}
To
enum MTLLibraryErrorDomain : UInt {
    case unsupported
    case `internal`
    case compileFailure
    case compileWarning
    case functionNotFound
    case fileNotFound
}

Declaration
From
case CompileFailure
To
case compileFailure

Declaration
From
case CompileWarning
To
case compileWarning

Declaration
From
case Internal
To
case `internal`

Declaration
From
case Unsupported
To
case unsupported

Declaration
From
enum MTLLoadAction : UInt {
    case DontCare
    case Load
    case Clear
}
To
enum MTLLoadAction : UInt {
    case dontCare
    case load
    case clear
}

Declaration
From
case Clear
To
case clear

Declaration
From
case DontCare
To
case dontCare

Declaration
From
case Load
To
case load

Declaration
From
enum MTLMultisampleDepthResolveFilter : UInt {
    case Sample0
    case Min
    case Max
}
To
enum MTLMultisampleDepthResolveFilter : UInt {
    case sample0
    case min
    case max
}

Declaration
From
case Max
To
case max

Declaration
From
case Min
To
case min

Declaration
From
case Sample0
To
case sample0

Declaration
From
protocol MTLParallelRenderCommandEncoder : MTLCommandEncoder {
    func renderCommandEncoder() -> MTLRenderCommandEncoder
}
To
protocol MTLParallelRenderCommandEncoder : MTLCommandEncoder {
    func makeRenderCommandEncoder() -> MTLRenderCommandEncoder
    func setColorStoreAction(_ storeAction: MTLStoreAction, at colorAttachmentIndex: Int)
    func setDepthStoreAction(_ storeAction: MTLStoreAction)
    func setStencilStoreAction(_ storeAction: MTLStoreAction)
}

Declaration
From
func renderCommandEncoder() -> MTLRenderCommandEncoder
To
func makeRenderCommandEncoder() -> MTLRenderCommandEncoder

DeclarationProtocols
From
struct MTLPipelineOption : OptionSetType {
    init(rawValue rawValue: UInt)
    static var None: MTLPipelineOption { get }
    static var ArgumentInfo: MTLPipelineOption { get }
    static var BufferTypeInfo: MTLPipelineOption { get }
}
OptionSetType
To
struct MTLPipelineOption : OptionSet {
    init(rawValue rawValue: UInt)
    static var none: MTLPipelineOption { get }
    static var argumentInfo: MTLPipelineOption { get }
    static var bufferTypeInfo: MTLPipelineOption { get }
    func intersect(_ other: MTLPipelineOption) -> MTLPipelineOption
    func exclusiveOr(_ other: MTLPipelineOption) -> MTLPipelineOption
    mutating func unionInPlace(_ other: MTLPipelineOption)
    mutating func intersectInPlace(_ other: MTLPipelineOption)
    mutating func exclusiveOrInPlace(_ other: MTLPipelineOption)
    func isSubsetOf(_ other: MTLPipelineOption) -> Bool
    func isDisjointWith(_ other: MTLPipelineOption) -> Bool
    func isSupersetOf(_ other: MTLPipelineOption) -> Bool
    mutating func subtractInPlace(_ other: MTLPipelineOption)
    func isStrictSupersetOf(_ other: MTLPipelineOption) -> Bool
    func isStrictSubsetOf(_ other: MTLPipelineOption) -> Bool
}
extension MTLPipelineOption {
    func union(_ other: MTLPipelineOption) -> MTLPipelineOption
    func intersection(_ other: MTLPipelineOption) -> MTLPipelineOption
    func symmetricDifference(_ other: MTLPipelineOption) -> MTLPipelineOption
}
extension MTLPipelineOption {
    func contains(_ member: MTLPipelineOption) -> Bool
    mutating func insert(_ newMember: MTLPipelineOption) -> (inserted: Bool, memberAfterInsert: MTLPipelineOption)
    mutating func remove(_ member: MTLPipelineOption) -> MTLPipelineOption?
    mutating func update(with newMember: MTLPipelineOption) -> MTLPipelineOption?
}
extension MTLPipelineOption {
    convenience init()
    mutating func formUnion(_ other: MTLPipelineOption)
    mutating func formIntersection(_ other: MTLPipelineOption)
    mutating func formSymmetricDifference(_ other: MTLPipelineOption)
}
extension MTLPipelineOption {
    convenience init<S : Sequence where S.Iterator.Element == MTLPipelineOption>(_ sequence: S)
    convenience init(arrayLiteral arrayLiteral: MTLPipelineOption...)
    mutating func subtract(_ other: MTLPipelineOption)
    func isSubset(of other: MTLPipelineOption) -> Bool
    func isSuperset(of other: MTLPipelineOption) -> Bool
    func isDisjoint(with other: MTLPipelineOption) -> Bool
    func subtracting(_ other: MTLPipelineOption) -> MTLPipelineOption
    var isEmpty: Bool { get }
    func isStrictSuperset(of other: MTLPipelineOption) -> Bool
    func isStrictSubset(of other: MTLPipelineOption) -> Bool
}
OptionSet

Declaration
From
static var ArgumentInfo: MTLPipelineOption { get }
To
static var argumentInfo: MTLPipelineOption { get }

Declaration
From
static var BufferTypeInfo: MTLPipelineOption { get }
To
static var bufferTypeInfo: MTLPipelineOption { get }

Declaration
From
enum MTLPixelFormat : UInt {
    case Invalid
    case A8Unorm
    case R8Unorm
    case R8Unorm_sRGB
    case R8Snorm
    case R8Uint
    case R8Sint
    case R16Unorm
    case R16Snorm
    case R16Uint
    case R16Sint
    case R16Float
    case RG8Unorm
    case RG8Unorm_sRGB
    case RG8Snorm
    case RG8Uint
    case RG8Sint
    case B5G6R5Unorm
    case A1BGR5Unorm
    case ABGR4Unorm
    case BGR5A1Unorm
    case R32Uint
    case R32Sint
    case R32Float
    case RG16Unorm
    case RG16Snorm
    case RG16Uint
    case RG16Sint
    case RG16Float
    case RGBA8Unorm
    case RGBA8Unorm_sRGB
    case RGBA8Snorm
    case RGBA8Uint
    case RGBA8Sint
    case BGRA8Unorm
    case BGRA8Unorm_sRGB
    case RGB10A2Unorm
    case RGB10A2Uint
    case RG11B10Float
    case RGB9E5Float
    case RG32Uint
    case RG32Sint
    case RG32Float
    case RGBA16Unorm
    case RGBA16Snorm
    case RGBA16Uint
    case RGBA16Sint
    case RGBA16Float
    case RGBA32Uint
    case RGBA32Sint
    case RGBA32Float
    case BC1_RGBA
    case BC1_RGBA_sRGB
    case BC2_RGBA
    case BC2_RGBA_sRGB
    case BC3_RGBA
    case BC3_RGBA_sRGB
    case BC4_RUnorm
    case BC4_RSnorm
    case BC5_RGUnorm
    case BC5_RGSnorm
    case BC6H_RGBFloat
    case BC6H_RGBUfloat
    case BC7_RGBAUnorm
    case BC7_RGBAUnorm_sRGB
    case PVRTC_RGB_2BPP
    case PVRTC_RGB_2BPP_sRGB
    case PVRTC_RGB_4BPP
    case PVRTC_RGB_4BPP_sRGB
    case PVRTC_RGBA_2BPP
    case PVRTC_RGBA_2BPP_sRGB
    case PVRTC_RGBA_4BPP
    case PVRTC_RGBA_4BPP_sRGB
    case EAC_R11Unorm
    case EAC_R11Snorm
    case EAC_RG11Unorm
    case EAC_RG11Snorm
    case EAC_RGBA8
    case EAC_RGBA8_sRGB
    case ETC2_RGB8
    case ETC2_RGB8_sRGB
    case ETC2_RGB8A1
    case ETC2_RGB8A1_sRGB
    case ASTC_4x4_sRGB
    case ASTC_5x4_sRGB
    case ASTC_5x5_sRGB
    case ASTC_6x5_sRGB
    case ASTC_6x6_sRGB
    case ASTC_8x5_sRGB
    case ASTC_8x6_sRGB
    case ASTC_8x8_sRGB
    case ASTC_10x5_sRGB
    case ASTC_10x6_sRGB
    case ASTC_10x8_sRGB
    case ASTC_10x10_sRGB
    case ASTC_12x10_sRGB
    case ASTC_12x12_sRGB
    case ASTC_4x4_LDR
    case ASTC_5x4_LDR
    case ASTC_5x5_LDR
    case ASTC_6x5_LDR
    case ASTC_6x6_LDR
    case ASTC_8x5_LDR
    case ASTC_8x6_LDR
    case ASTC_8x8_LDR
    case ASTC_10x5_LDR
    case ASTC_10x6_LDR
    case ASTC_10x8_LDR
    case ASTC_10x10_LDR
    case ASTC_12x10_LDR
    case ASTC_12x12_LDR
    case GBGR422
    case BGRG422
    case Depth32Float
    case Stencil8
    case Depth24Unorm_Stencil8
    case Depth32Float_Stencil8
}
To
enum MTLPixelFormat : UInt {
    case invalid
    case a8Unorm
    case r8Unorm
    case r8Unorm_srgb
    case r8Snorm
    case r8Uint
    case r8Sint
    case r16Unorm
    case r16Snorm
    case r16Uint
    case r16Sint
    case r16Float
    case rg8Unorm
    case rg8Unorm_srgb
    case rg8Snorm
    case rg8Uint
    case rg8Sint
    case b5g6r5Unorm
    case a1bgr5Unorm
    case abgr4Unorm
    case bgr5A1Unorm
    case r32Uint
    case r32Sint
    case r32Float
    case rg16Unorm
    case rg16Snorm
    case rg16Uint
    case rg16Sint
    case rg16Float
    case rgba8Unorm
    case rgba8Unorm_srgb
    case rgba8Snorm
    case rgba8Uint
    case rgba8Sint
    case bgra8Unorm
    case bgra8Unorm_srgb
    case rgb10a2Unorm
    case rgb10a2Uint
    case rg11b10Float
    case rgb9e5Float
    case bgr10_xr
    case bgr10_xr_srgb
    case rg32Uint
    case rg32Sint
    case rg32Float
    case rgba16Unorm
    case rgba16Snorm
    case rgba16Uint
    case rgba16Sint
    case rgba16Float
    case BGRA10_XR
    case bgra10_XR_sRGB
    case rgba32Uint
    case rgba32Sint
    case rgba32Float
    case bc1_rgba
    case bc1_rgba_srgb
    case bc2_rgba
    case bc2_rgba_srgb
    case bc3_rgba
    case bc3_rgba_srgb
    case bc4_rUnorm
    case bc4_rSnorm
    case bc5_rgUnorm
    case bc5_rgSnorm
    case bc6H_rgbFloat
    case bc6H_rgbuFloat
    case bc7_rgbaUnorm
    case bc7_rgbaUnorm_srgb
    case pvrtc_rgb_2bpp
    case pvrtc_rgb_2bpp_srgb
    case pvrtc_rgb_4bpp
    case pvrtc_rgb_4bpp_srgb
    case pvrtc_rgba_2bpp
    case pvrtc_rgba_2bpp_srgb
    case pvrtc_rgba_4bpp
    case pvrtc_rgba_4bpp_srgb
    case eac_r11Unorm
    case eac_r11Snorm
    case eac_rg11Unorm
    case eac_rg11Snorm
    case eac_rgba8
    case eac_rgba8_srgb
    case etc2_rgb8
    case etc2_rgb8_srgb
    case etc2_rgb8a1
    case etc2_rgb8a1_srgb
    case astc_4x4_srgb
    case astc_5x4_srgb
    case astc_5x5_srgb
    case astc_6x5_srgb
    case astc_6x6_srgb
    case astc_8x5_srgb
    case astc_8x6_srgb
    case astc_8x8_srgb
    case astc_10x5_srgb
    case astc_10x6_srgb
    case astc_10x8_srgb
    case astc_10x10_srgb
    case astc_12x10_srgb
    case astc_12x12_srgb
    case astc_4x4_ldr
    case astc_5x4_ldr
    case astc_5x5_ldr
    case astc_6x5_ldr
    case astc_6x6_ldr
    case astc_8x5_ldr
    case astc_8x6_ldr
    case astc_8x8_ldr
    case astc_10x5_ldr
    case astc_10x6_ldr
    case astc_10x8_ldr
    case astc_10x10_ldr
    case astc_12x10_ldr
    case astc_12x12_ldr
    case gbgr422
    case bgrg422
    case depth32Float
    case stencil8
    case depth24Unorm_stencil8
    case depth32Float_stencil8
    case x32_stencil8
    case x24_stencil8
}

Declaration
From
case A1BGR5Unorm
To
case a1bgr5Unorm

Declaration
From
case A8Unorm
To
case a8Unorm

Declaration
From
case ABGR4Unorm
To
case abgr4Unorm

Declaration
From
case ASTC_10x10_LDR
To
case astc_10x10_ldr

Declaration
From
case ASTC_10x10_sRGB
To
case astc_10x10_srgb

Declaration
From
case ASTC_10x5_LDR
To
case astc_10x5_ldr

Declaration
From
case ASTC_10x5_sRGB
To
case astc_10x5_srgb

Declaration
From
case ASTC_10x6_LDR
To
case astc_10x6_ldr

Declaration
From
case ASTC_10x6_sRGB
To
case astc_10x6_srgb

Declaration
From
case ASTC_10x8_LDR
To
case astc_10x8_ldr

Declaration
From
case ASTC_10x8_sRGB
To
case astc_10x8_srgb

Declaration
From
case ASTC_12x10_LDR
To
case astc_12x10_ldr

Declaration
From
case ASTC_12x10_sRGB
To
case astc_12x10_srgb

Declaration
From
case ASTC_12x12_LDR
To
case astc_12x12_ldr

Declaration
From
case ASTC_12x12_sRGB
To
case astc_12x12_srgb

Declaration
From
case ASTC_4x4_LDR
To
case astc_4x4_ldr

Declaration
From
case ASTC_4x4_sRGB
To
case astc_4x4_srgb

Declaration
From
case ASTC_5x4_LDR
To
case astc_5x4_ldr

Declaration
From
case ASTC_5x4_sRGB
To
case astc_5x4_srgb

Declaration
From
case ASTC_5x5_LDR
To
case astc_5x5_ldr

Declaration
From
case ASTC_5x5_sRGB
To
case astc_5x5_srgb

Declaration
From
case ASTC_6x5_LDR
To
case astc_6x5_ldr

Declaration
From
case ASTC_6x5_sRGB
To
case astc_6x5_srgb

Declaration
From
case ASTC_6x6_LDR
To
case astc_6x6_ldr

Declaration
From
case ASTC_6x6_sRGB
To
case astc_6x6_srgb

Declaration
From
case ASTC_8x5_LDR
To
case astc_8x5_ldr

Declaration
From
case ASTC_8x5_sRGB
To
case astc_8x5_srgb

Declaration
From
case ASTC_8x6_LDR
To
case astc_8x6_ldr

Declaration
From
case ASTC_8x6_sRGB
To
case astc_8x6_srgb

Declaration
From
case ASTC_8x8_LDR
To
case astc_8x8_ldr

Declaration
From
case ASTC_8x8_sRGB
To
case astc_8x8_srgb

Declaration
From
case B5G6R5Unorm
To
case b5g6r5Unorm

Declaration
From
case BGR5A1Unorm
To
case bgr5A1Unorm

Declaration
From
case BGRA8Unorm
To
case bgra8Unorm

Declaration
From
case BGRA8Unorm_sRGB
To
case bgra8Unorm_srgb

Declaration
From
case BGRG422
To
case bgrg422

Declaration
From
case Depth32Float
To
case depth32Float

Declaration
From
case Depth32Float_Stencil8
To
case depth32Float_stencil8

Declaration
From
case EAC_R11Snorm
To
case eac_r11Snorm

Declaration
From
case EAC_R11Unorm
To
case eac_r11Unorm

Declaration
From
case EAC_RG11Snorm
To
case eac_rg11Snorm

Declaration
From
case EAC_RG11Unorm
To
case eac_rg11Unorm

Declaration
From
case EAC_RGBA8
To
case eac_rgba8

Declaration
From
case EAC_RGBA8_sRGB
To
case eac_rgba8_srgb

Declaration
From
case ETC2_RGB8
To
case etc2_rgb8

Declaration
From
case ETC2_RGB8_sRGB
To
case etc2_rgb8_srgb

Declaration
From
case ETC2_RGB8A1
To
case etc2_rgb8a1

Declaration
From
case ETC2_RGB8A1_sRGB
To
case etc2_rgb8a1_srgb

Declaration
From
case GBGR422
To
case gbgr422

Declaration
From
case Invalid
To
case invalid

Declaration
From
case PVRTC_RGB_2BPP
To
case pvrtc_rgb_2bpp

Declaration
From
case PVRTC_RGB_2BPP_sRGB
To
case pvrtc_rgb_2bpp_srgb

Declaration
From
case PVRTC_RGB_4BPP
To
case pvrtc_rgb_4bpp

Declaration
From
case PVRTC_RGB_4BPP_sRGB
To
case pvrtc_rgb_4bpp_srgb

Declaration
From
case PVRTC_RGBA_2BPP
To
case pvrtc_rgba_2bpp

Declaration
From
case PVRTC_RGBA_2BPP_sRGB
To
case pvrtc_rgba_2bpp_srgb

Declaration
From
case PVRTC_RGBA_4BPP
To
case pvrtc_rgba_4bpp

Declaration
From
case PVRTC_RGBA_4BPP_sRGB
To
case pvrtc_rgba_4bpp_srgb

Declaration
From
case R16Float
To
case r16Float

Declaration
From
case R16Sint
To
case r16Sint

Declaration
From
case R16Snorm
To
case r16Snorm

Declaration
From
case R16Uint
To
case r16Uint

Declaration
From
case R16Unorm
To
case r16Unorm

Declaration
From
case R32Float
To
case r32Float

Declaration
From
case R32Sint
To
case r32Sint

Declaration
From
case R32Uint
To
case r32Uint

Declaration
From
case R8Sint
To
case r8Sint

Declaration
From
case R8Snorm
To
case r8Snorm

Declaration
From
case R8Uint
To
case r8Uint

Declaration
From
case R8Unorm
To
case r8Unorm

Declaration
From
case R8Unorm_sRGB
To
case r8Unorm_srgb

Declaration
From
case RG11B10Float
To
case rg11b10Float

Declaration
From
case RG16Float
To
case rg16Float

Declaration
From
case RG16Sint
To
case rg16Sint

Declaration
From
case RG16Snorm
To
case rg16Snorm

Declaration
From
case RG16Uint
To
case rg16Uint

Declaration
From
case RG16Unorm
To
case rg16Unorm

Declaration
From
case RG32Float
To
case rg32Float

Declaration
From
case RG32Sint
To
case rg32Sint

Declaration
From
case RG32Uint
To
case rg32Uint

Declaration
From
case RG8Sint
To
case rg8Sint

Declaration
From
case RG8Snorm
To
case rg8Snorm

Declaration
From
case RG8Uint
To
case rg8Uint

Declaration
From
case RG8Unorm
To
case rg8Unorm

Declaration
From
case RG8Unorm_sRGB
To
case rg8Unorm_srgb

Declaration
From
case RGB10A2Uint
To
case rgb10a2Uint

Declaration
From
case RGB10A2Unorm
To
case rgb10a2Unorm

Declaration
From
case RGB9E5Float
To
case rgb9e5Float

Declaration
From
case RGBA16Float
To
case rgba16Float

Declaration
From
case RGBA16Sint
To
case rgba16Sint

Declaration
From
case RGBA16Snorm
To
case rgba16Snorm

Declaration
From
case RGBA16Uint
To
case rgba16Uint

Declaration
From
case RGBA16Unorm
To
case rgba16Unorm

Declaration
From
case RGBA32Float
To
case rgba32Float

Declaration
From
case RGBA32Sint
To
case rgba32Sint

Declaration
From
case RGBA32Uint
To
case rgba32Uint

Declaration
From
case RGBA8Sint
To
case rgba8Sint

Declaration
From
case RGBA8Snorm
To
case rgba8Snorm

Declaration
From
case RGBA8Uint
To
case rgba8Uint

Declaration
From
case RGBA8Unorm
To
case rgba8Unorm

Declaration
From
case RGBA8Unorm_sRGB
To
case rgba8Unorm_srgb

Declaration
From
case Stencil8
To
case stencil8

Declaration
From
enum MTLPrimitiveType : UInt {
    case Point
    case Line
    case LineStrip
    case Triangle
    case TriangleStrip
}
To
enum MTLPrimitiveType : UInt {
    case point
    case line
    case lineStrip
    case triangle
    case triangleStrip
}

Declaration
From
case Line
To
case line

Declaration
From
case LineStrip
To
case lineStrip

Declaration
From
case Point
To
case point

Declaration
From
case Triangle
To
case triangle

Declaration
From
case TriangleStrip
To
case triangleStrip

Declaration
From
enum MTLPurgeableState : UInt {
    case KeepCurrent
    case NonVolatile
    case Volatile
    case Empty
}
To
enum MTLPurgeableState : UInt {
    case keepCurrent
    case nonVolatile
    case volatile
    case empty
}

Declaration
From
case Empty
To
case empty

Declaration
From
case KeepCurrent
To
case keepCurrent

Declaration
From
case NonVolatile
To
case nonVolatile

Declaration
From
case Volatile
To
case volatile

Declaration
From
protocol MTLRenderCommandEncoder : MTLCommandEncoder {
    func setRenderPipelineState(_ pipelineState: MTLRenderPipelineState)
    func setVertexBytes(_ bytes: UnsafePointer<Void>, length length: Int, atIndex index: Int)
    func setVertexBuffer(_ buffer: MTLBuffer?, offset offset: Int, atIndex index: Int)
    func setVertexBufferOffset(_ offset: Int, atIndex index: Int)
    func setVertexBuffers(_ buffers: UnsafePointer<MTLBuffer?>, offsets offsets: UnsafePointer<Int>, withRange range: NSRange)
    func setVertexTexture(_ texture: MTLTexture?, atIndex index: Int)
    func setVertexTextures(_ textures: UnsafePointer<MTLTexture?>, withRange range: NSRange)
    func setVertexSamplerState(_ sampler: MTLSamplerState?, atIndex index: Int)
    func setVertexSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>, withRange range: NSRange)
    func setVertexSamplerState(_ sampler: MTLSamplerState?, lodMinClamp lodMinClamp: Float, lodMaxClamp lodMaxClamp: Float, atIndex index: Int)
    func setVertexSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>, lodMinClamps lodMinClamps: UnsafePointer<Float>, lodMaxClamps lodMaxClamps: UnsafePointer<Float>, withRange range: NSRange)
    func setViewport(_ viewport: MTLViewport)
    func setFrontFacingWinding(_ frontFacingWinding: MTLWinding)
    func setCullMode(_ cullMode: MTLCullMode)
    func setDepthClipMode(_ depthClipMode: MTLDepthClipMode)
    func setDepthBias(_ depthBias: Float, slopeScale slopeScale: Float, clamp clamp: Float)
    func setScissorRect(_ rect: MTLScissorRect)
    func setTriangleFillMode(_ fillMode: MTLTriangleFillMode)
    func setFragmentBytes(_ bytes: UnsafePointer<Void>, length length: Int, atIndex index: Int)
    func setFragmentBuffer(_ buffer: MTLBuffer?, offset offset: Int, atIndex index: Int)
    func setFragmentBufferOffset(_ offset: Int, atIndex index: Int)
    func setFragmentBuffers(_ buffers: UnsafePointer<MTLBuffer?>, offsets offset: UnsafePointer<Int>, withRange range: NSRange)
    func setFragmentTexture(_ texture: MTLTexture?, atIndex index: Int)
    func setFragmentTextures(_ textures: UnsafePointer<MTLTexture?>, withRange range: NSRange)
    func setFragmentSamplerState(_ sampler: MTLSamplerState?, atIndex index: Int)
    func setFragmentSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>, withRange range: NSRange)
    func setFragmentSamplerState(_ sampler: MTLSamplerState?, lodMinClamp lodMinClamp: Float, lodMaxClamp lodMaxClamp: Float, atIndex index: Int)
    func setFragmentSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>, lodMinClamps lodMinClamps: UnsafePointer<Float>, lodMaxClamps lodMaxClamps: UnsafePointer<Float>, withRange range: NSRange)
    func setBlendColorRed(_ red: Float, green green: Float, blue blue: Float, alpha alpha: Float)
    func setDepthStencilState(_ depthStencilState: MTLDepthStencilState?)
    func setStencilReferenceValue(_ referenceValue: UInt32)
    func setStencilFrontReferenceValue(_ frontReferenceValue: UInt32, backReferenceValue backReferenceValue: UInt32)
    func setVisibilityResultMode(_ mode: MTLVisibilityResultMode, offset offset: Int)
    func drawPrimitives(_ primitiveType: MTLPrimitiveType, vertexStart vertexStart: Int, vertexCount vertexCount: Int, instanceCount instanceCount: Int)
    func drawPrimitives(_ primitiveType: MTLPrimitiveType, vertexStart vertexStart: Int, vertexCount vertexCount: Int)
    func drawIndexedPrimitives(_ primitiveType: MTLPrimitiveType, indexCount indexCount: Int, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int, instanceCount instanceCount: Int)
    func drawIndexedPrimitives(_ primitiveType: MTLPrimitiveType, indexCount indexCount: Int, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int)
    func drawPrimitives(_ primitiveType: MTLPrimitiveType, vertexStart vertexStart: Int, vertexCount vertexCount: Int, instanceCount instanceCount: Int, baseInstance baseInstance: Int)
    func drawIndexedPrimitives(_ primitiveType: MTLPrimitiveType, indexCount indexCount: Int, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int, instanceCount instanceCount: Int, baseVertex baseVertex: Int, baseInstance baseInstance: Int)
    func drawPrimitives(_ primitiveType: MTLPrimitiveType, indirectBuffer indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int)
    func drawIndexedPrimitives(_ primitiveType: MTLPrimitiveType, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int, indirectBuffer indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int)
}
To
protocol MTLRenderCommandEncoder : MTLCommandEncoder {
    func setRenderPipelineState(_ pipelineState: MTLRenderPipelineState)
    func setVertexBytes(_ bytes: UnsafeRawPointer, length length: Int, at index: Int)
    func setVertexBuffer(_ buffer: MTLBuffer?, offset offset: Int, at index: Int)
    func setVertexBufferOffset(_ offset: Int, at index: Int)
    func setVertexBuffers(_ buffers: UnsafePointer<MTLBuffer?>!, offsets offsets: UnsafePointer<Int>!, with range: NSRange)
    func setVertexTexture(_ texture: MTLTexture?, at index: Int)
    func setVertexTextures(_ textures: UnsafePointer<MTLTexture?>!, with range: NSRange)
    func setVertexSamplerState(_ sampler: MTLSamplerState?, at index: Int)
    func setVertexSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>!, with range: NSRange)
    func setVertexSamplerState(_ sampler: MTLSamplerState?, lodMinClamp lodMinClamp: Float, lodMaxClamp lodMaxClamp: Float, at index: Int)
    func setVertexSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>!, lodMinClamps lodMinClamps: UnsafePointer<Float>!, lodMaxClamps lodMaxClamps: UnsafePointer<Float>!, with range: NSRange)
    func setViewport(_ viewport: MTLViewport)
    func setFrontFacing(_ frontFacingWinding: MTLWinding)
    func setCullMode(_ cullMode: MTLCullMode)
    func setDepthClipMode(_ depthClipMode: MTLDepthClipMode)
    func setDepthBias(_ depthBias: Float, slopeScale slopeScale: Float, clamp clamp: Float)
    func setScissorRect(_ rect: MTLScissorRect)
    func setTriangleFillMode(_ fillMode: MTLTriangleFillMode)
    func setFragmentBytes(_ bytes: UnsafeRawPointer, length length: Int, at index: Int)
    func setFragmentBuffer(_ buffer: MTLBuffer?, offset offset: Int, at index: Int)
    func setFragmentBufferOffset(_ offset: Int, at index: Int)
    func setFragmentBuffers(_ buffers: UnsafePointer<MTLBuffer?>!, offsets offset: UnsafePointer<Int>!, with range: NSRange)
    func setFragmentTexture(_ texture: MTLTexture?, at index: Int)
    func setFragmentTextures(_ textures: UnsafePointer<MTLTexture?>!, with range: NSRange)
    func setFragmentSamplerState(_ sampler: MTLSamplerState?, at index: Int)
    func setFragmentSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>!, with range: NSRange)
    func setFragmentSamplerState(_ sampler: MTLSamplerState?, lodMinClamp lodMinClamp: Float, lodMaxClamp lodMaxClamp: Float, at index: Int)
    func setFragmentSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>!, lodMinClamps lodMinClamps: UnsafePointer<Float>!, lodMaxClamps lodMaxClamps: UnsafePointer<Float>!, with range: NSRange)
    func setBlendColor(red red: Float, green green: Float, blue blue: Float, alpha alpha: Float)
    func setDepthStencilState(_ depthStencilState: MTLDepthStencilState?)
    func setStencilReferenceValue(_ referenceValue: UInt32)
    func setStencilReferenceValues(front frontReferenceValue: UInt32, back backReferenceValue: UInt32)
    func setVisibilityResultMode(_ mode: MTLVisibilityResultMode, offset offset: Int)
    func setColorStoreAction(_ storeAction: MTLStoreAction, at colorAttachmentIndex: Int)
    func setDepthStoreAction(_ storeAction: MTLStoreAction)
    func setStencilStoreAction(_ storeAction: MTLStoreAction)
    func drawPrimitives(type primitiveType: MTLPrimitiveType, vertexStart vertexStart: Int, vertexCount vertexCount: Int, instanceCount instanceCount: Int)
    func drawPrimitives(type primitiveType: MTLPrimitiveType, vertexStart vertexStart: Int, vertexCount vertexCount: Int)
    func drawIndexedPrimitives(type primitiveType: MTLPrimitiveType, indexCount indexCount: Int, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int, instanceCount instanceCount: Int)
    func drawIndexedPrimitives(type primitiveType: MTLPrimitiveType, indexCount indexCount: Int, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int)
    func drawPrimitives(type primitiveType: MTLPrimitiveType, vertexStart vertexStart: Int, vertexCount vertexCount: Int, instanceCount instanceCount: Int, baseInstance baseInstance: Int)
    func drawIndexedPrimitives(type primitiveType: MTLPrimitiveType, indexCount indexCount: Int, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int, instanceCount instanceCount: Int, baseVertex baseVertex: Int, baseInstance baseInstance: Int)
    func drawPrimitives(type primitiveType: MTLPrimitiveType, indirectBuffer indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int)
    func drawIndexedPrimitives(type primitiveType: MTLPrimitiveType, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int, indirectBuffer indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int)
    func textureBarrier()
    func update(_ fence: MTLFence, after stages: MTLRenderStages)
    func wait(for fence: MTLFence, before stages: MTLRenderStages)
    func setTessellationFactorBuffer(_ buffer: MTLBuffer?, offset offset: Int, instanceStride instanceStride: Int)
    func setTessellationFactorScale(_ scale: Float)
    func drawPatches(numberOfPatchControlPoints numberOfPatchControlPoints: Int, patchStart patchStart: Int, patchCount patchCount: Int, patchIndexBuffer patchIndexBuffer: MTLBuffer?, patchIndexBufferOffset patchIndexBufferOffset: Int, instanceCount instanceCount: Int, baseInstance baseInstance: Int)
    func drawPatches(numberOfPatchControlPoints numberOfPatchControlPoints: Int, patchIndexBuffer patchIndexBuffer: MTLBuffer?, patchIndexBufferOffset patchIndexBufferOffset: Int, indirectBuffer indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int)
    func drawIndexedPatches(numberOfPatchControlPoints numberOfPatchControlPoints: Int, patchStart patchStart: Int, patchCount patchCount: Int, patchIndexBuffer patchIndexBuffer: MTLBuffer?, patchIndexBufferOffset patchIndexBufferOffset: Int, controlPointIndexBuffer controlPointIndexBuffer: MTLBuffer, controlPointIndexBufferOffset controlPointIndexBufferOffset: Int, instanceCount instanceCount: Int, baseInstance baseInstance: Int)
    func drawIndexedPatches(numberOfPatchControlPoints numberOfPatchControlPoints: Int, patchIndexBuffer patchIndexBuffer: MTLBuffer?, patchIndexBufferOffset patchIndexBufferOffset: Int, controlPointIndexBuffer controlPointIndexBuffer: MTLBuffer, controlPointIndexBufferOffset controlPointIndexBufferOffset: Int, indirectBuffer indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int)
}

Declaration
From
func drawIndexedPrimitives(_ primitiveType: MTLPrimitiveType, indexCount indexCount: Int, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int)
To
func drawIndexedPrimitives(type primitiveType: MTLPrimitiveType, indexCount indexCount: Int, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int)

Declaration
From
func drawIndexedPrimitives(_ primitiveType: MTLPrimitiveType, indexCount indexCount: Int, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int, instanceCount instanceCount: Int)
To
func drawIndexedPrimitives(type primitiveType: MTLPrimitiveType, indexCount indexCount: Int, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int, instanceCount instanceCount: Int)

Declaration
From
func drawIndexedPrimitives(_ primitiveType: MTLPrimitiveType, indexCount indexCount: Int, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int, instanceCount instanceCount: Int, baseVertex baseVertex: Int, baseInstance baseInstance: Int)
To
func drawIndexedPrimitives(type primitiveType: MTLPrimitiveType, indexCount indexCount: Int, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int, instanceCount instanceCount: Int, baseVertex baseVertex: Int, baseInstance baseInstance: Int)

Declaration
From
func drawIndexedPrimitives(_ primitiveType: MTLPrimitiveType, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int, indirectBuffer indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int)
To
func drawIndexedPrimitives(type primitiveType: MTLPrimitiveType, indexType indexType: MTLIndexType, indexBuffer indexBuffer: MTLBuffer, indexBufferOffset indexBufferOffset: Int, indirectBuffer indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int)

Declaration
From
func drawPrimitives(_ primitiveType: MTLPrimitiveType, indirectBuffer indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int)
To
func drawPrimitives(type primitiveType: MTLPrimitiveType, indirectBuffer indirectBuffer: MTLBuffer, indirectBufferOffset indirectBufferOffset: Int)

Declaration
From
func drawPrimitives(_ primitiveType: MTLPrimitiveType, vertexStart vertexStart: Int, vertexCount vertexCount: Int)
To
func drawPrimitives(type primitiveType: MTLPrimitiveType, vertexStart vertexStart: Int, vertexCount vertexCount: Int)

Declaration
From
func drawPrimitives(_ primitiveType: MTLPrimitiveType, vertexStart vertexStart: Int, vertexCount vertexCount: Int, instanceCount instanceCount: Int)
To
func drawPrimitives(type primitiveType: MTLPrimitiveType, vertexStart vertexStart: Int, vertexCount vertexCount: Int, instanceCount instanceCount: Int)

Declaration
From
func drawPrimitives(_ primitiveType: MTLPrimitiveType, vertexStart vertexStart: Int, vertexCount vertexCount: Int, instanceCount instanceCount: Int, baseInstance baseInstance: Int)
To
func drawPrimitives(type primitiveType: MTLPrimitiveType, vertexStart vertexStart: Int, vertexCount vertexCount: Int, instanceCount instanceCount: Int, baseInstance baseInstance: Int)

Declaration
From
func setBlendColorRed(_ red: Float, green green: Float, blue blue: Float, alpha alpha: Float)
To
func setBlendColor(red red: Float, green green: Float, blue blue: Float, alpha alpha: Float)

Declaration
From
func setFragmentBuffer(_ buffer: MTLBuffer?, offset offset: Int, atIndex index: Int)
To
func setFragmentBuffer(_ buffer: MTLBuffer?, offset offset: Int, at index: Int)

Declaration
From
func setFragmentBufferOffset(_ offset: Int, atIndex index: Int)
To
func setFragmentBufferOffset(_ offset: Int, at index: Int)

Declaration
From
func setFragmentBuffers(_ buffers: UnsafePointer<MTLBuffer?>, offsets offset: UnsafePointer<Int>, withRange range: NSRange)
To
func setFragmentBuffers(_ buffers: UnsafePointer<MTLBuffer?>!, offsets offset: UnsafePointer<Int>!, with range: NSRange)

Declaration
From
func setFragmentBytes(_ bytes: UnsafePointer<Void>, length length: Int, atIndex index: Int)
To
func setFragmentBytes(_ bytes: UnsafeRawPointer, length length: Int, at index: Int)

Declaration
From
func setFragmentSamplerState(_ sampler: MTLSamplerState?, atIndex index: Int)
To
func setFragmentSamplerState(_ sampler: MTLSamplerState?, at index: Int)

Declaration
From
func setFragmentSamplerState(_ sampler: MTLSamplerState?, lodMinClamp lodMinClamp: Float, lodMaxClamp lodMaxClamp: Float, atIndex index: Int)
To
func setFragmentSamplerState(_ sampler: MTLSamplerState?, lodMinClamp lodMinClamp: Float, lodMaxClamp lodMaxClamp: Float, at index: Int)

Declaration
From
func setFragmentSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>, lodMinClamps lodMinClamps: UnsafePointer<Float>, lodMaxClamps lodMaxClamps: UnsafePointer<Float>, withRange range: NSRange)
To
func setFragmentSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>!, lodMinClamps lodMinClamps: UnsafePointer<Float>!, lodMaxClamps lodMaxClamps: UnsafePointer<Float>!, with range: NSRange)

Declaration
From
func setFragmentSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>, withRange range: NSRange)
To
func setFragmentSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>!, with range: NSRange)

Declaration
From
func setFragmentTexture(_ texture: MTLTexture?, atIndex index: Int)
To
func setFragmentTexture(_ texture: MTLTexture?, at index: Int)

Declaration
From
func setFragmentTextures(_ textures: UnsafePointer<MTLTexture?>, withRange range: NSRange)
To
func setFragmentTextures(_ textures: UnsafePointer<MTLTexture?>!, with range: NSRange)

Declaration
From
func setFrontFacingWinding(_ frontFacingWinding: MTLWinding)
To
func setFrontFacing(_ frontFacingWinding: MTLWinding)

Declaration
From
func setStencilFrontReferenceValue(_ frontReferenceValue: UInt32, backReferenceValue backReferenceValue: UInt32)
To
func setStencilReferenceValues(front frontReferenceValue: UInt32, back backReferenceValue: UInt32)

Declaration
From
func setVertexBuffer(_ buffer: MTLBuffer?, offset offset: Int, atIndex index: Int)
To
func setVertexBuffer(_ buffer: MTLBuffer?, offset offset: Int, at index: Int)

Declaration
From
func setVertexBufferOffset(_ offset: Int, atIndex index: Int)
To
func setVertexBufferOffset(_ offset: Int, at index: Int)

Declaration
From
func setVertexBuffers(_ buffers: UnsafePointer<MTLBuffer?>, offsets offsets: UnsafePointer<Int>, withRange range: NSRange)
To
func setVertexBuffers(_ buffers: UnsafePointer<MTLBuffer?>!, offsets offsets: UnsafePointer<Int>!, with range: NSRange)

Declaration
From
func setVertexBytes(_ bytes: UnsafePointer<Void>, length length: Int, atIndex index: Int)
To
func setVertexBytes(_ bytes: UnsafeRawPointer, length length: Int, at index: Int)

Declaration
From
func setVertexSamplerState(_ sampler: MTLSamplerState?, atIndex index: Int)
To
func setVertexSamplerState(_ sampler: MTLSamplerState?, at index: Int)

Declaration
From
func setVertexSamplerState(_ sampler: MTLSamplerState?, lodMinClamp lodMinClamp: Float, lodMaxClamp lodMaxClamp: Float, atIndex index: Int)
To
func setVertexSamplerState(_ sampler: MTLSamplerState?, lodMinClamp lodMinClamp: Float, lodMaxClamp lodMaxClamp: Float, at index: Int)

Declaration
From
func setVertexSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>, lodMinClamps lodMinClamps: UnsafePointer<Float>, lodMaxClamps lodMaxClamps: UnsafePointer<Float>, withRange range: NSRange)
To
func setVertexSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>!, lodMinClamps lodMinClamps: UnsafePointer<Float>!, lodMaxClamps lodMaxClamps: UnsafePointer<Float>!, with range: NSRange)

Declaration
From
func setVertexSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>, withRange range: NSRange)
To
func setVertexSamplerStates(_ samplers: UnsafePointer<MTLSamplerState?>!, with range: NSRange)

Declaration
From
func setVertexTexture(_ texture: MTLTexture?, atIndex index: Int)
To
func setVertexTexture(_ texture: MTLTexture?, at index: Int)

Declaration
From
func setVertexTextures(_ textures: UnsafePointer<MTLTexture?>, withRange range: NSRange)
To
func setVertexTextures(_ textures: UnsafePointer<MTLTexture?>!, with range: NSRange)

DeclarationProtocols
From
class MTLRenderPassAttachmentDescriptor : NSObject, NSCopying {
    var texture: MTLTexture?
    var level: Int
    var slice: Int
    var depthPlane: Int
    var resolveTexture: MTLTexture?
    var resolveLevel: Int
    var resolveSlice: Int
    var resolveDepthPlane: Int
    var loadAction: MTLLoadAction
    var storeAction: MTLStoreAction
}
NSCopying
To
class MTLRenderPassAttachmentDescriptor : NSObject, NSCopying {
    var texture: MTLTexture?
    var level: Int
    var slice: Int
    var depthPlane: Int
    var resolveTexture: MTLTexture?
    var resolveLevel: Int
    var resolveSlice: Int
    var resolveDepthPlane: Int
    var loadAction: MTLLoadAction
    var storeAction: MTLStoreAction
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLRenderPassAttachmentDescriptor : CVarArg {
}
extension MTLRenderPassAttachmentDescriptor : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

DeclarationProtocols
From
class MTLRenderPassColorAttachmentDescriptorArray : NSObject {
    subscript (_ attachmentIndex: Int) -> MTLRenderPassColorAttachmentDescriptor!
    func objectAtIndexedSubscript(_ attachmentIndex: Int) -> MTLRenderPassColorAttachmentDescriptor
    func setObject(_ attachment: MTLRenderPassColorAttachmentDescriptor?, atIndexedSubscript attachmentIndex: Int)
}
--
To
class MTLRenderPassColorAttachmentDescriptorArray : NSObject {
    subscript(_ attachmentIndex: Int) -> MTLRenderPassColorAttachmentDescriptor
    func objectAtIndexedSubscript(_ attachmentIndex: Int) -> MTLRenderPassColorAttachmentDescriptor
    func setObject(_ attachment: MTLRenderPassColorAttachmentDescriptor?, atIndexedSubscript attachmentIndex: Int)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLRenderPassColorAttachmentDescriptorArray : CVarArg {
}
extension MTLRenderPassColorAttachmentDescriptorArray : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
subscript (_ attachmentIndex: Int) -> MTLRenderPassColorAttachmentDescriptor!
To
subscript(_ attachmentIndex: Int) -> MTLRenderPassColorAttachmentDescriptor

DeclarationProtocols
From
class MTLRenderPassDescriptor : NSObject, NSCopying {
     init()
    class func renderPassDescriptor() -> MTLRenderPassDescriptor
    var colorAttachments: MTLRenderPassColorAttachmentDescriptorArray { get }
    @NSCopying var depthAttachment: MTLRenderPassDepthAttachmentDescriptor!
    @NSCopying var stencilAttachment: MTLRenderPassStencilAttachmentDescriptor!
    var visibilityResultBuffer: MTLBuffer?
}
NSCopying
To
class MTLRenderPassDescriptor : NSObject, NSCopying {
     init()
    class func renderPassDescriptor() -> MTLRenderPassDescriptor
    var colorAttachments: MTLRenderPassColorAttachmentDescriptorArray { get }
    @NSCopying var depthAttachment: MTLRenderPassDepthAttachmentDescriptor!
    @NSCopying var stencilAttachment: MTLRenderPassStencilAttachmentDescriptor!
    var visibilityResultBuffer: MTLBuffer?
    var renderTargetArrayLength: Int
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLRenderPassDescriptor : CVarArg {
}
extension MTLRenderPassDescriptor : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

DeclarationProtocols
From
class MTLRenderPipelineColorAttachmentDescriptor : NSObject, NSCopying {
    var pixelFormat: MTLPixelFormat
    var blendingEnabled: Bool
    var sourceRGBBlendFactor: MTLBlendFactor
    var destinationRGBBlendFactor: MTLBlendFactor
    var rgbBlendOperation: MTLBlendOperation
    var sourceAlphaBlendFactor: MTLBlendFactor
    var destinationAlphaBlendFactor: MTLBlendFactor
    var alphaBlendOperation: MTLBlendOperation
    var writeMask: MTLColorWriteMask
}
NSCopying
To
class MTLRenderPipelineColorAttachmentDescriptor : NSObject, NSCopying {
    var pixelFormat: MTLPixelFormat
    var isBlendingEnabled: Bool
    var sourceRGBBlendFactor: MTLBlendFactor
    var destinationRGBBlendFactor: MTLBlendFactor
    var rgbBlendOperation: MTLBlendOperation
    var sourceAlphaBlendFactor: MTLBlendFactor
    var destinationAlphaBlendFactor: MTLBlendFactor
    var alphaBlendOperation: MTLBlendOperation
    var writeMask: MTLColorWriteMask
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLRenderPipelineColorAttachmentDescriptor : CVarArg {
}
extension MTLRenderPipelineColorAttachmentDescriptor : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

Declaration
From
var blendingEnabled: Bool
To
var isBlendingEnabled: Bool

DeclarationProtocols
From
class MTLRenderPipelineColorAttachmentDescriptorArray : NSObject {
    subscript (_ attachmentIndex: Int) -> MTLRenderPipelineColorAttachmentDescriptor!
    func objectAtIndexedSubscript(_ attachmentIndex: Int) -> MTLRenderPipelineColorAttachmentDescriptor
    func setObject(_ attachment: MTLRenderPipelineColorAttachmentDescriptor?, atIndexedSubscript attachmentIndex: Int)
}
--
To
class MTLRenderPipelineColorAttachmentDescriptorArray : NSObject {
    subscript(_ attachmentIndex: Int) -> MTLRenderPipelineColorAttachmentDescriptor
    func objectAtIndexedSubscript(_ attachmentIndex: Int) -> MTLRenderPipelineColorAttachmentDescriptor
    func setObject(_ attachment: MTLRenderPipelineColorAttachmentDescriptor?, atIndexedSubscript attachmentIndex: Int)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLRenderPipelineColorAttachmentDescriptorArray : CVarArg {
}
extension MTLRenderPipelineColorAttachmentDescriptorArray : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
subscript (_ attachmentIndex: Int) -> MTLRenderPipelineColorAttachmentDescriptor!
To
subscript(_ attachmentIndex: Int) -> MTLRenderPipelineColorAttachmentDescriptor

DeclarationProtocols
From
class MTLRenderPipelineDescriptor : NSObject, NSCopying {
    var label: String?
    var vertexFunction: MTLFunction?
    var fragmentFunction: MTLFunction?
    @NSCopying var vertexDescriptor: MTLVertexDescriptor?
    var sampleCount: Int
    var alphaToCoverageEnabled: Bool
    var alphaToOneEnabled: Bool
    var rasterizationEnabled: Bool
    var colorAttachments: MTLRenderPipelineColorAttachmentDescriptorArray { get }
    var depthAttachmentPixelFormat: MTLPixelFormat
    var stencilAttachmentPixelFormat: MTLPixelFormat
    func reset()
}
NSCopying
To
class MTLRenderPipelineDescriptor : NSObject, NSCopying {
    var label: String?
    var vertexFunction: MTLFunction?
    var fragmentFunction: MTLFunction?
    @NSCopying var vertexDescriptor: MTLVertexDescriptor?
    var sampleCount: Int
    var isAlphaToCoverageEnabled: Bool
    var isAlphaToOneEnabled: Bool
    var isRasterizationEnabled: Bool
    var colorAttachments: MTLRenderPipelineColorAttachmentDescriptorArray { get }
    var depthAttachmentPixelFormat: MTLPixelFormat
    var stencilAttachmentPixelFormat: MTLPixelFormat
    var inputPrimitiveTopology: MTLPrimitiveTopologyClass
    var tessellationPartitionMode: MTLTessellationPartitionMode
    var maxTessellationFactor: Int
    var isTessellationFactorScaleEnabled: Bool
    var tessellationFactorFormat: MTLTessellationFactorFormat
    var tessellationControlPointIndexType: MTLTessellationControlPointIndexType
    var tessellationFactorStepFunction: MTLTessellationFactorStepFunction
    var tessellationOutputWindingOrder: MTLWinding
    func reset()
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLRenderPipelineDescriptor : CVarArg {
}
extension MTLRenderPipelineDescriptor : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

Declaration
From
var alphaToCoverageEnabled: Bool
To
var isAlphaToCoverageEnabled: Bool

Declaration
From
var alphaToOneEnabled: Bool
To
var isAlphaToOneEnabled: Bool

Declaration
From
var rasterizationEnabled: Bool
To
var isRasterizationEnabled: Bool

Modified MTLRenderPipelineErrorDomain [enum]
Declaration
From
enum MTLRenderPipelineError : UInt {
    case Internal
    case Unsupported
    case InvalidInput
}
To
enum MTLRenderPipelineErrorDomain : UInt {
    case `internal`
    case unsupported
    case invalidInput
}

Modified MTLRenderPipelineErrorDomain.internal
Declaration
From
case Internal
To
case `internal`

Modified MTLRenderPipelineErrorDomain.invalidInput
Declaration
From
case InvalidInput
To
case invalidInput

Modified MTLRenderPipelineErrorDomain.unsupported
Declaration
From
case Unsupported
To
case unsupported

DeclarationProtocols
From
class MTLRenderPipelineReflection : NSObject {
    var vertexArguments: [MTLArgument]? { get }
    var fragmentArguments: [MTLArgument]? { get }
}
--
To
class MTLRenderPipelineReflection : NSObject {
    var vertexArguments: [MTLArgument]? { get }
    var fragmentArguments: [MTLArgument]? { get }
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLRenderPipelineReflection : CVarArg {
}
extension MTLRenderPipelineReflection : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Modified MTLResource
Declaration
From
protocol MTLResource : NSObjectProtocol {
    var label: String? { get set }
    var device: MTLDevice { get }
    var cpuCacheMode: MTLCPUCacheMode { get }
    var storageMode: MTLStorageMode { get }
    func setPurgeableState(_ state: MTLPurgeableState) -> MTLPurgeableState
}
To
protocol MTLResource : NSObjectProtocol {
    var label: String? { get set }
    var device: MTLDevice { get }
    var cpuCacheMode: MTLCPUCacheMode { get }
    var storageMode: MTLStorageMode { get }
    func setPurgeableState(_ state: MTLPurgeableState) -> MTLPurgeableState
    var heap: MTLHeap? { get }
    func makeAliasable()
    func isAliasable() -> Bool
}

DeclarationProtocols
From
struct MTLResourceOptions : OptionSetType {
    init(rawValue rawValue: UInt)
    static var CPUCacheModeDefaultCache: MTLResourceOptions { get }
    static var CPUCacheModeWriteCombined: MTLResourceOptions { get }
    static var StorageModeShared: MTLResourceOptions { get }
    static var StorageModeManaged: MTLResourceOptions { get }
    static var StorageModePrivate: MTLResourceOptions { get }
    static var OptionCPUCacheModeDefault: MTLResourceOptions { get }
    static var OptionCPUCacheModeWriteCombined: MTLResourceOptions { get }
}
OptionSetType
To
struct MTLResourceOptions : OptionSet {
    init(rawValue rawValue: UInt)
    static var cpuCacheModeDefaultCache: MTLResourceOptions { get }
    static var cpuCacheModeWriteCombined: MTLResourceOptions { get }
    static var storageModeShared: MTLResourceOptions { get }
    static var storageModeManaged: MTLResourceOptions { get }
    static var storageModePrivate: MTLResourceOptions { get }
    static var storageModeMemoryless: MTLResourceOptions { get }
    static var hazardTrackingModeUntracked: MTLResourceOptions { get }
    static var optionCPUCacheModeDefault: MTLResourceOptions { get }
    static var optionCPUCacheModeWriteCombined: MTLResourceOptions { get }
    func intersect(_ other: MTLResourceOptions) -> MTLResourceOptions
    func exclusiveOr(_ other: MTLResourceOptions) -> MTLResourceOptions
    mutating func unionInPlace(_ other: MTLResourceOptions)
    mutating func intersectInPlace(_ other: MTLResourceOptions)
    mutating func exclusiveOrInPlace(_ other: MTLResourceOptions)
    func isSubsetOf(_ other: MTLResourceOptions) -> Bool
    func isDisjointWith(_ other: MTLResourceOptions) -> Bool
    func isSupersetOf(_ other: MTLResourceOptions) -> Bool
    mutating func subtractInPlace(_ other: MTLResourceOptions)
    func isStrictSupersetOf(_ other: MTLResourceOptions) -> Bool
    func isStrictSubsetOf(_ other: MTLResourceOptions) -> Bool
}
extension MTLResourceOptions {
    func union(_ other: MTLResourceOptions) -> MTLResourceOptions
    func intersection(_ other: MTLResourceOptions) -> MTLResourceOptions
    func symmetricDifference(_ other: MTLResourceOptions) -> MTLResourceOptions
}
extension MTLResourceOptions {
    func contains(_ member: MTLResourceOptions) -> Bool
    mutating func insert(_ newMember: MTLResourceOptions) -> (inserted: Bool, memberAfterInsert: MTLResourceOptions)
    mutating func remove(_ member: MTLResourceOptions) -> MTLResourceOptions?
    mutating func update(with newMember: MTLResourceOptions) -> MTLResourceOptions?
}
extension MTLResourceOptions {
    convenience init()
    mutating func formUnion(_ other: MTLResourceOptions)
    mutating func formIntersection(_ other: MTLResourceOptions)
    mutating func formSymmetricDifference(_ other: MTLResourceOptions)
}
extension MTLResourceOptions {
    convenience init<S : Sequence where S.Iterator.Element == MTLResourceOptions>(_ sequence: S)
    convenience init(arrayLiteral arrayLiteral: MTLResourceOptions...)
    mutating func subtract(_ other: MTLResourceOptions)
    func isSubset(of other: MTLResourceOptions) -> Bool
    func isSuperset(of other: MTLResourceOptions) -> Bool
    func isDisjoint(with other: MTLResourceOptions) -> Bool
    func subtracting(_ other: MTLResourceOptions) -> MTLResourceOptions
    var isEmpty: Bool { get }
    func isStrictSuperset(of other: MTLResourceOptions) -> Bool
    func isStrictSubset(of other: MTLResourceOptions) -> Bool
}
OptionSet

Declaration
From
static var CPUCacheModeWriteCombined: MTLResourceOptions { get }
To
static var cpuCacheModeWriteCombined: MTLResourceOptions { get }

Declaration
From
static var OptionCPUCacheModeWriteCombined: MTLResourceOptions { get }
To
static var optionCPUCacheModeWriteCombined: MTLResourceOptions { get }

Declaration
From
static var StorageModePrivate: MTLResourceOptions { get }
To
static var storageModePrivate: MTLResourceOptions { get }

Declaration
From
static var StorageModeShared: MTLResourceOptions { get }
To
static var storageModeShared: MTLResourceOptions { get }

Declaration
From
enum MTLSamplerAddressMode : UInt {
    case ClampToEdge
    case MirrorClampToEdge
    case Repeat
    case MirrorRepeat
    case ClampToZero
}
To
enum MTLSamplerAddressMode : UInt {
    case clampToEdge
    case mirrorClampToEdge
    case `repeat`
    case mirrorRepeat
    case clampToZero
    case clampToBorderColor
}

Declaration
From
case ClampToEdge
To
case clampToEdge

Declaration
From
case ClampToZero
To
case clampToZero

Declaration
From
case MirrorRepeat
To
case mirrorRepeat

Declaration
From
case Repeat
To
case `repeat`

DeclarationProtocols
From
class MTLSamplerDescriptor : NSObject, NSCopying {
    var minFilter: MTLSamplerMinMagFilter
    var magFilter: MTLSamplerMinMagFilter
    var mipFilter: MTLSamplerMipFilter
    var maxAnisotropy: Int
    var sAddressMode: MTLSamplerAddressMode
    var tAddressMode: MTLSamplerAddressMode
    var rAddressMode: MTLSamplerAddressMode
    var normalizedCoordinates: Bool
    var lodMinClamp: Float
    var lodMaxClamp: Float
    var lodAverage: Bool
    var compareFunction: MTLCompareFunction
    var label: String?
}
NSCopying
To
class MTLSamplerDescriptor : NSObject, NSCopying {
    var minFilter: MTLSamplerMinMagFilter
    var magFilter: MTLSamplerMinMagFilter
    var mipFilter: MTLSamplerMipFilter
    var maxAnisotropy: Int
    var sAddressMode: MTLSamplerAddressMode
    var tAddressMode: MTLSamplerAddressMode
    var rAddressMode: MTLSamplerAddressMode
    var borderColor: MTLSamplerBorderColor
    var normalizedCoordinates: Bool
    var lodMinClamp: Float
    var lodMaxClamp: Float
    var lodAverage: Bool
    var compareFunction: MTLCompareFunction
    var label: String?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLSamplerDescriptor : CVarArg {
}
extension MTLSamplerDescriptor : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

Declaration
From
enum MTLSamplerMinMagFilter : UInt {
    case Nearest
    case Linear
}
To
enum MTLSamplerMinMagFilter : UInt {
    case nearest
    case linear
}

Declaration
From
case Linear
To
case linear

Declaration
From
case Nearest
To
case nearest

Declaration
From
enum MTLSamplerMipFilter : UInt {
    case NotMipmapped
    case Nearest
    case Linear
}
To
enum MTLSamplerMipFilter : UInt {
    case notMipmapped
    case nearest
    case linear
}

Declaration
From
case Linear
To
case linear

Declaration
From
case Nearest
To
case nearest

Declaration
From
case NotMipmapped
To
case notMipmapped

DeclarationProtocols
From
class MTLStencilDescriptor : NSObject, NSCopying {
    var stencilCompareFunction: MTLCompareFunction
    var stencilFailureOperation: MTLStencilOperation
    var depthFailureOperation: MTLStencilOperation
    var depthStencilPassOperation: MTLStencilOperation
    var readMask: UInt32
    var writeMask: UInt32
}
NSCopying
To
class MTLStencilDescriptor : NSObject, NSCopying {
    var stencilCompareFunction: MTLCompareFunction
    var stencilFailureOperation: MTLStencilOperation
    var depthFailureOperation: MTLStencilOperation
    var depthStencilPassOperation: MTLStencilOperation
    var readMask: UInt32
    var writeMask: UInt32
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLStencilDescriptor : CVarArg {
}
extension MTLStencilDescriptor : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

Declaration
From
enum MTLStencilOperation : UInt {
    case Keep
    case Zero
    case Replace
    case IncrementClamp
    case DecrementClamp
    case Invert
    case IncrementWrap
    case DecrementWrap
}
To
enum MTLStencilOperation : UInt {
    case keep
    case zero
    case replace
    case incrementClamp
    case decrementClamp
    case invert
    case incrementWrap
    case decrementWrap
}

Declaration
From
case DecrementClamp
To
case decrementClamp

Declaration
From
case DecrementWrap
To
case decrementWrap

Declaration
From
case IncrementClamp
To
case incrementClamp

Declaration
From
case IncrementWrap
To
case incrementWrap

Declaration
From
case Invert
To
case invert

Declaration
From
case Keep
To
case keep

Declaration
From
case Replace
To
case replace

Declaration
From
case Zero
To
case zero

Declaration
From
enum MTLStorageMode : UInt {
    case Shared
    case Managed
    case Private
}
To
enum MTLStorageMode : UInt {
    case shared
    case managed
    case `private`
    case memoryless
}

Declaration
From
case Private
To
case `private`

Declaration
From
case Shared
To
case shared

Declaration
From
enum MTLStoreAction : UInt {
    case DontCare
    case Store
    case MultisampleResolve
}
To
enum MTLStoreAction : UInt {
    case dontCare
    case store
    case multisampleResolve
    case storeAndMultisampleResolve
    case unknown
}

Declaration
From
case DontCare
To
case dontCare

Declaration
From
case MultisampleResolve
To
case multisampleResolve

Declaration
From
case Store
To
case store

DeclarationProtocols
From
class MTLStructMember : NSObject {
    var name: String { get }
    var offset: Int { get }
    var dataType: MTLDataType { get }
    func structType() -> MTLStructType?
    func arrayType() -> MTLArrayType?
}
--
To
class MTLStructMember : NSObject {
    var name: String { get }
    var offset: Int { get }
    var dataType: MTLDataType { get }
    func structType() -> MTLStructType?
    func arrayType() -> MTLArrayType?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLStructMember : CVarArg {
}
extension MTLStructMember : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Modified MTLStructType
DeclarationProtocols
From
class MTLStructType : NSObject {
    var members: [MTLStructMember] { get }
    func memberByName(_ name: String) -> MTLStructMember?
}
--
To
class MTLStructType : NSObject {
    var members: [MTLStructMember] { get }
    func memberByName(_ name: String) -> MTLStructMember?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLStructType : CVarArg {
}
extension MTLStructType : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Modified MTLTexture
Declaration
From
protocol MTLTexture : MTLResource {
    var rootResource: MTLResource? { get }
    var parentTexture: MTLTexture? { get }
    var parentRelativeLevel: Int { get }
    var parentRelativeSlice: Int { get }
    var buffer: MTLBuffer? { get }
    var bufferOffset: Int { get }
    var bufferBytesPerRow: Int { get }
    var textureType: MTLTextureType { get }
    var pixelFormat: MTLPixelFormat { get }
    var width: Int { get }
    var height: Int { get }
    var depth: Int { get }
    var mipmapLevelCount: Int { get }
    var sampleCount: Int { get }
    var arrayLength: Int { get }
    var usage: MTLTextureUsage { get }
    var framebufferOnly: Bool { get }
    func getBytes(_ pixelBytes: UnsafeMutablePointer<Void>, bytesPerRow bytesPerRow: Int, bytesPerImage bytesPerImage: Int, fromRegion region: MTLRegion, mipmapLevel level: Int, slice slice: Int)
    func replaceRegion(_ region: MTLRegion, mipmapLevel level: Int, slice slice: Int, withBytes pixelBytes: UnsafePointer<Void>, bytesPerRow bytesPerRow: Int, bytesPerImage bytesPerImage: Int)
    func getBytes(_ pixelBytes: UnsafeMutablePointer<Void>, bytesPerRow bytesPerRow: Int, fromRegion region: MTLRegion, mipmapLevel level: Int)
    func replaceRegion(_ region: MTLRegion, mipmapLevel level: Int, withBytes pixelBytes: UnsafePointer<Void>, bytesPerRow bytesPerRow: Int)
    func newTextureViewWithPixelFormat(_ pixelFormat: MTLPixelFormat) -> MTLTexture
    func newTextureViewWithPixelFormat(_ pixelFormat: MTLPixelFormat, textureType textureType: MTLTextureType, levels levelRange: NSRange, slices sliceRange: NSRange) -> MTLTexture
}
To
protocol MTLTexture : MTLResource {
    var rootResource: MTLResource? { get }
    var parent: MTLTexture? { get }
    var parentRelativeLevel: Int { get }
    var parentRelativeSlice: Int { get }
    var buffer: MTLBuffer? { get }
    var bufferOffset: Int { get }
    var bufferBytesPerRow: Int { get }
    var textureType: MTLTextureType { get }
    var pixelFormat: MTLPixelFormat { get }
    var width: Int { get }
    var height: Int { get }
    var depth: Int { get }
    var mipmapLevelCount: Int { get }
    var sampleCount: Int { get }
    var arrayLength: Int { get }
    var usage: MTLTextureUsage { get }
    var isFramebufferOnly: Bool { get }
    func getBytes(_ pixelBytes: UnsafeMutableRawPointer, bytesPerRow bytesPerRow: Int, bytesPerImage bytesPerImage: Int, from region: MTLRegion, mipmapLevel level: Int, slice slice: Int)
    func replace(region region: MTLRegion, mipmapLevel level: Int, slice slice: Int, withBytes pixelBytes: UnsafeRawPointer, bytesPerRow bytesPerRow: Int, bytesPerImage bytesPerImage: Int)
    func getBytes(_ pixelBytes: UnsafeMutableRawPointer, bytesPerRow bytesPerRow: Int, from region: MTLRegion, mipmapLevel level: Int)
    func replace(region region: MTLRegion, mipmapLevel level: Int, withBytes pixelBytes: UnsafeRawPointer, bytesPerRow bytesPerRow: Int)
    func makeTextureView(pixelFormat pixelFormat: MTLPixelFormat) -> MTLTexture
    func makeTextureView(pixelFormat pixelFormat: MTLPixelFormat, textureType textureType: MTLTextureType, levels levelRange: NSRange, slices sliceRange: NSRange) -> MTLTexture
}

Declaration
From
func getBytes(_ pixelBytes: UnsafeMutablePointer<Void>, bytesPerRow bytesPerRow: Int, bytesPerImage bytesPerImage: Int, fromRegion region: MTLRegion, mipmapLevel level: Int, slice slice: Int)
To
func getBytes(_ pixelBytes: UnsafeMutableRawPointer, bytesPerRow bytesPerRow: Int, bytesPerImage bytesPerImage: Int, from region: MTLRegion, mipmapLevel level: Int, slice slice: Int)

Declaration
From
func getBytes(_ pixelBytes: UnsafeMutablePointer<Void>, bytesPerRow bytesPerRow: Int, fromRegion region: MTLRegion, mipmapLevel level: Int)
To
func getBytes(_ pixelBytes: UnsafeMutableRawPointer, bytesPerRow bytesPerRow: Int, from region: MTLRegion, mipmapLevel level: Int)

Declaration
From
var framebufferOnly: Bool { get }
To
var isFramebufferOnly: Bool { get }

Declaration
From
func newTextureViewWithPixelFormat(_ pixelFormat: MTLPixelFormat) -> MTLTexture
To
func makeTextureView(pixelFormat pixelFormat: MTLPixelFormat) -> MTLTexture

Declaration
From
func newTextureViewWithPixelFormat(_ pixelFormat: MTLPixelFormat, textureType textureType: MTLTextureType, levels levelRange: NSRange, slices sliceRange: NSRange) -> MTLTexture
To
func makeTextureView(pixelFormat pixelFormat: MTLPixelFormat, textureType textureType: MTLTextureType, levels levelRange: NSRange, slices sliceRange: NSRange) -> MTLTexture

Declaration
From
var parentTexture: MTLTexture? { get }
To
var parent: MTLTexture? { get }

Declaration
From
func replaceRegion(_ region: MTLRegion, mipmapLevel level: Int, slice slice: Int, withBytes pixelBytes: UnsafePointer<Void>, bytesPerRow bytesPerRow: Int, bytesPerImage bytesPerImage: Int)
To
func replace(region region: MTLRegion, mipmapLevel level: Int, slice slice: Int, withBytes pixelBytes: UnsafeRawPointer, bytesPerRow bytesPerRow: Int, bytesPerImage bytesPerImage: Int)

Declaration
From
func replaceRegion(_ region: MTLRegion, mipmapLevel level: Int, withBytes pixelBytes: UnsafePointer<Void>, bytesPerRow bytesPerRow: Int)
To
func replace(region region: MTLRegion, mipmapLevel level: Int, withBytes pixelBytes: UnsafeRawPointer, bytesPerRow bytesPerRow: Int)

Deprecation
From--
TotvOS 10.0

DeclarationProtocols
From
class MTLTextureDescriptor : NSObject, NSCopying {
    class func texture2DDescriptorWithPixelFormat(_ pixelFormat: MTLPixelFormat, width width: Int, height height: Int, mipmapped mipmapped: Bool) -> MTLTextureDescriptor
    class func textureCubeDescriptorWithPixelFormat(_ pixelFormat: MTLPixelFormat, size size: Int, mipmapped mipmapped: Bool) -> MTLTextureDescriptor
    var textureType: MTLTextureType
    var pixelFormat: MTLPixelFormat
    var width: Int
    var height: Int
    var depth: Int
    var mipmapLevelCount: Int
    var sampleCount: Int
    var arrayLength: Int
    var resourceOptions: MTLResourceOptions
    var cpuCacheMode: MTLCPUCacheMode
    var storageMode: MTLStorageMode
    var usage: MTLTextureUsage
}
NSCopying
To
class MTLTextureDescriptor : NSObject, NSCopying {
    class func texture2DDescriptor(pixelFormat pixelFormat: MTLPixelFormat, width width: Int, height height: Int, mipmapped mipmapped: Bool) -> MTLTextureDescriptor
    class func textureCubeDescriptor(pixelFormat pixelFormat: MTLPixelFormat, size size: Int, mipmapped mipmapped: Bool) -> MTLTextureDescriptor
    var textureType: MTLTextureType
    var pixelFormat: MTLPixelFormat
    var width: Int
    var height: Int
    var depth: Int
    var mipmapLevelCount: Int
    var sampleCount: Int
    var arrayLength: Int
    var resourceOptions: MTLResourceOptions
    var cpuCacheMode: MTLCPUCacheMode
    var storageMode: MTLStorageMode
    var usage: MTLTextureUsage
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLTextureDescriptor : CVarArg {
}
extension MTLTextureDescriptor : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

Declaration
From
class func texture2DDescriptorWithPixelFormat(_ pixelFormat: MTLPixelFormat, width width: Int, height height: Int, mipmapped mipmapped: Bool) -> MTLTextureDescriptor
To
class func texture2DDescriptor(pixelFormat pixelFormat: MTLPixelFormat, width width: Int, height height: Int, mipmapped mipmapped: Bool) -> MTLTextureDescriptor

Declaration
From
class func textureCubeDescriptorWithPixelFormat(_ pixelFormat: MTLPixelFormat, size size: Int, mipmapped mipmapped: Bool) -> MTLTextureDescriptor
To
class func textureCubeDescriptor(pixelFormat pixelFormat: MTLPixelFormat, size size: Int, mipmapped mipmapped: Bool) -> MTLTextureDescriptor

Declaration
From
enum MTLTextureType : UInt {
    case Type1D
    case Type1DArray
    case Type2D
    case Type2DArray
    case Type2DMultisample
    case TypeCube
    case TypeCubeArray
    case Type3D
}
To
enum MTLTextureType : UInt {
    case type1D
    case type1DArray
    case type2D
    case type2DArray
    case type2DMultisample
    case typeCube
    case typeCubeArray
    case type3D
}

Declaration
From
case Type1D
To
case type1D

Declaration
From
case Type1DArray
To
case type1DArray

Declaration
From
case Type2D
To
case type2D

Declaration
From
case Type2DArray
To
case type2DArray

Declaration
From
case Type2DMultisample
To
case type2DMultisample

Declaration
From
case Type3D
To
case type3D

Declaration
From
case TypeCube
To
case typeCube

DeclarationProtocols
From
struct MTLTextureUsage : OptionSetType {
    init(rawValue rawValue: UInt)
    static var Unknown: MTLTextureUsage { get }
    static var ShaderRead: MTLTextureUsage { get }
    static var ShaderWrite: MTLTextureUsage { get }
    static var RenderTarget: MTLTextureUsage { get }
    static var PixelFormatView: MTLTextureUsage { get }
}
OptionSetType
To
struct MTLTextureUsage : OptionSet {
    init(rawValue rawValue: UInt)
    static var unknown: MTLTextureUsage { get }
    static var shaderRead: MTLTextureUsage { get }
    static var shaderWrite: MTLTextureUsage { get }
    static var renderTarget: MTLTextureUsage { get }
    static var pixelFormatView: MTLTextureUsage { get }
    func intersect(_ other: MTLTextureUsage) -> MTLTextureUsage
    func exclusiveOr(_ other: MTLTextureUsage) -> MTLTextureUsage
    mutating func unionInPlace(_ other: MTLTextureUsage)
    mutating func intersectInPlace(_ other: MTLTextureUsage)
    mutating func exclusiveOrInPlace(_ other: MTLTextureUsage)
    func isSubsetOf(_ other: MTLTextureUsage) -> Bool
    func isDisjointWith(_ other: MTLTextureUsage) -> Bool
    func isSupersetOf(_ other: MTLTextureUsage) -> Bool
    mutating func subtractInPlace(_ other: MTLTextureUsage)
    func isStrictSupersetOf(_ other: MTLTextureUsage) -> Bool
    func isStrictSubsetOf(_ other: MTLTextureUsage) -> Bool
}
extension MTLTextureUsage {
    func union(_ other: MTLTextureUsage) -> MTLTextureUsage
    func intersection(_ other: MTLTextureUsage) -> MTLTextureUsage
    func symmetricDifference(_ other: MTLTextureUsage) -> MTLTextureUsage
}
extension MTLTextureUsage {
    func contains(_ member: MTLTextureUsage) -> Bool
    mutating func insert(_ newMember: MTLTextureUsage) -> (inserted: Bool, memberAfterInsert: MTLTextureUsage)
    mutating func remove(_ member: MTLTextureUsage) -> MTLTextureUsage?
    mutating func update(with newMember: MTLTextureUsage) -> MTLTextureUsage?
}
extension MTLTextureUsage {
    convenience init()
    mutating func formUnion(_ other: MTLTextureUsage)
    mutating func formIntersection(_ other: MTLTextureUsage)
    mutating func formSymmetricDifference(_ other: MTLTextureUsage)
}
extension MTLTextureUsage {
    convenience init<S : Sequence where S.Iterator.Element == MTLTextureUsage>(_ sequence: S)
    convenience init(arrayLiteral arrayLiteral: MTLTextureUsage...)
    mutating func subtract(_ other: MTLTextureUsage)
    func isSubset(of other: MTLTextureUsage) -> Bool
    func isSuperset(of other: MTLTextureUsage) -> Bool
    func isDisjoint(with other: MTLTextureUsage) -> Bool
    func subtracting(_ other: MTLTextureUsage) -> MTLTextureUsage
    var isEmpty: Bool { get }
    func isStrictSuperset(of other: MTLTextureUsage) -> Bool
    func isStrictSubset(of other: MTLTextureUsage) -> Bool
}
OptionSet

Declaration
From
static var PixelFormatView: MTLTextureUsage { get }
To
static var pixelFormatView: MTLTextureUsage { get }

Declaration
From
static var RenderTarget: MTLTextureUsage { get }
To
static var renderTarget: MTLTextureUsage { get }

Declaration
From
static var ShaderRead: MTLTextureUsage { get }
To
static var shaderRead: MTLTextureUsage { get }

Declaration
From
static var ShaderWrite: MTLTextureUsage { get }
To
static var shaderWrite: MTLTextureUsage { get }

Declaration
From
static var Unknown: MTLTextureUsage { get }
To
static var unknown: MTLTextureUsage { get }

Declaration
From
enum MTLTriangleFillMode : UInt {
    case Fill
    case Lines
}
To
enum MTLTriangleFillMode : UInt {
    case fill
    case lines
}

Declaration
From
case Fill
To
case fill

Declaration
From
case Lines
To
case lines

DeclarationProtocols
From
class MTLVertexAttribute : NSObject {
    var name: String? { get }
    var attributeIndex: Int { get }
    var attributeType: MTLDataType { get }
    var active: Bool { get }
}
--
To
class MTLVertexAttribute : NSObject {
    var name: String? { get }
    var attributeIndex: Int { get }
    var attributeType: MTLDataType { get }
    var isActive: Bool { get }
    var isPatchData: Bool { get }
    var isPatchControlPointData: Bool { get }
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLVertexAttribute : CVarArg {
}
extension MTLVertexAttribute : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
var active: Bool { get }
To
var isActive: Bool { get }

DeclarationProtocols
From
class MTLVertexAttributeDescriptor : NSObject, NSCopying {
    var format: MTLVertexFormat
    var offset: Int
    var bufferIndex: Int
}
NSCopying
To
class MTLVertexAttributeDescriptor : NSObject, NSCopying {
    var format: MTLVertexFormat
    var offset: Int
    var bufferIndex: Int
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLVertexAttributeDescriptor : CVarArg {
}
extension MTLVertexAttributeDescriptor : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

DeclarationProtocols
From
class MTLVertexAttributeDescriptorArray : NSObject {
    subscript (_ index: Int) -> MTLVertexAttributeDescriptor!
    func objectAtIndexedSubscript(_ index: Int) -> MTLVertexAttributeDescriptor
    func setObject(_ attributeDesc: MTLVertexAttributeDescriptor?, atIndexedSubscript index: Int)
}
--
To
class MTLVertexAttributeDescriptorArray : NSObject {
    subscript(_ index: Int) -> MTLVertexAttributeDescriptor
    func objectAtIndexedSubscript(_ index: Int) -> MTLVertexAttributeDescriptor
    func setObject(_ attributeDesc: MTLVertexAttributeDescriptor?, atIndexedSubscript index: Int)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLVertexAttributeDescriptorArray : CVarArg {
}
extension MTLVertexAttributeDescriptorArray : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
subscript (_ index: Int) -> MTLVertexAttributeDescriptor!
To
subscript(_ index: Int) -> MTLVertexAttributeDescriptor

DeclarationProtocols
From
class MTLVertexBufferLayoutDescriptor : NSObject, NSCopying {
    var stride: Int
    var stepFunction: MTLVertexStepFunction
    var stepRate: Int
}
NSCopying
To
class MTLVertexBufferLayoutDescriptor : NSObject, NSCopying {
    var stride: Int
    var stepFunction: MTLVertexStepFunction
    var stepRate: Int
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLVertexBufferLayoutDescriptor : CVarArg {
}
extension MTLVertexBufferLayoutDescriptor : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

DeclarationProtocols
From
class MTLVertexBufferLayoutDescriptorArray : NSObject {
    subscript (_ index: Int) -> MTLVertexBufferLayoutDescriptor!
    func objectAtIndexedSubscript(_ index: Int) -> MTLVertexBufferLayoutDescriptor
    func setObject(_ bufferDesc: MTLVertexBufferLayoutDescriptor?, atIndexedSubscript index: Int)
}
--
To
class MTLVertexBufferLayoutDescriptorArray : NSObject {
    subscript(_ index: Int) -> MTLVertexBufferLayoutDescriptor
    func objectAtIndexedSubscript(_ index: Int) -> MTLVertexBufferLayoutDescriptor
    func setObject(_ bufferDesc: MTLVertexBufferLayoutDescriptor?, atIndexedSubscript index: Int)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLVertexBufferLayoutDescriptorArray : CVarArg {
}
extension MTLVertexBufferLayoutDescriptorArray : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
subscript (_ index: Int) -> MTLVertexBufferLayoutDescriptor!
To
subscript(_ index: Int) -> MTLVertexBufferLayoutDescriptor

DeclarationProtocols
From
class MTLVertexDescriptor : NSObject, NSCopying {
     init()
    class func vertexDescriptor() -> MTLVertexDescriptor
    var layouts: MTLVertexBufferLayoutDescriptorArray { get }
    var attributes: MTLVertexAttributeDescriptorArray { get }
    func reset()
}
NSCopying
To
class MTLVertexDescriptor : NSObject, NSCopying {
     init()
    class func vertexDescriptor() -> MTLVertexDescriptor
    var layouts: MTLVertexBufferLayoutDescriptorArray { get }
    var attributes: MTLVertexAttributeDescriptorArray { get }
    func reset()
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension MTLVertexDescriptor : CVarArg {
}
extension MTLVertexDescriptor : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

Declaration
From
enum MTLVertexFormat : UInt {
    case Invalid
    case UChar2
    case UChar3
    case UChar4
    case Char2
    case Char3
    case Char4
    case UChar2Normalized
    case UChar3Normalized
    case UChar4Normalized
    case Char2Normalized
    case Char3Normalized
    case Char4Normalized
    case UShort2
    case UShort3
    case UShort4
    case Short2
    case Short3
    case Short4
    case UShort2Normalized
    case UShort3Normalized
    case UShort4Normalized
    case Short2Normalized
    case Short3Normalized
    case Short4Normalized
    case Half2
    case Half3
    case Half4
    case Float
    case Float2
    case Float3
    case Float4
    case Int
    case Int2
    case Int3
    case Int4
    case UInt
    case UInt2
    case UInt3
    case UInt4
    case Int1010102Normalized
    case UInt1010102Normalized
}
To
enum MTLVertexFormat : UInt {
    case invalid
    case uchar2
    case uchar3
    case uchar4
    case char2
    case char3
    case char4
    case uchar2Normalized
    case uchar3Normalized
    case uchar4Normalized
    case char2Normalized
    case char3Normalized
    case char4Normalized
    case ushort2
    case ushort3
    case ushort4
    case short2
    case short3
    case short4
    case ushort2Normalized
    case ushort3Normalized
    case ushort4Normalized
    case short2Normalized
    case short3Normalized
    case short4Normalized
    case half2
    case half3
    case half4
    case float
    case float2
    case float3
    case float4
    case int
    case int2
    case int3
    case int4
    case uint
    case uint2
    case uint3
    case uint4
    case int1010102Normalized
    case uint1010102Normalized
}

Declaration
From
case Char2
To
case char2

Declaration
From
case Char2Normalized
To
case char2Normalized

Declaration
From
case Char3
To
case char3

Declaration
From
case Char3Normalized
To
case char3Normalized

Declaration
From
case Char4
To
case char4

Declaration
From
case Char4Normalized
To
case char4Normalized

Declaration
From
case Float
To
case float

Declaration
From
case Float2
To
case float2

Declaration
From
case Float3
To
case float3

Declaration
From
case Float4
To
case float4

Declaration
From
case Half2
To
case half2

Declaration
From
case Half3
To
case half3

Declaration
From
case Half4
To
case half4

Declaration
From
case Int
To
case int

Declaration
From
case Int1010102Normalized
To
case int1010102Normalized

Declaration
From
case Int2
To
case int2

Declaration
From
case Int3
To
case int3

Declaration
From
case Int4
To
case int4

Declaration
From
case Invalid
To
case invalid

Declaration
From
case Short2
To
case short2

Declaration
From
case Short2Normalized
To
case short2Normalized

Declaration
From
case Short3
To
case short3

Declaration
From
case Short3Normalized
To
case short3Normalized

Declaration
From
case Short4
To
case short4

Declaration
From
case Short4Normalized
To
case short4Normalized

Declaration
From
case UChar2
To
case uchar2

Declaration
From
case UChar2Normalized
To
case uchar2Normalized

Declaration
From
case UChar3
To
case uchar3

Declaration
From
case UChar3Normalized
To
case uchar3Normalized

Declaration
From
case UChar4
To
case uchar4

Declaration
From
case UChar4Normalized
To
case uchar4Normalized

Declaration
From
case UInt
To
case uint

Declaration
From
case UInt1010102Normalized
To
case uint1010102Normalized

Declaration
From
case UInt2
To
case uint2

Declaration
From
case UInt3
To
case uint3

Declaration
From
case UInt4
To
case uint4

Declaration
From
case UShort2
To
case ushort2

Declaration
From
case UShort2Normalized
To
case ushort2Normalized

Declaration
From
case UShort3
To
case ushort3

Declaration
From
case UShort3Normalized
To
case ushort3Normalized

Declaration
From
case UShort4
To
case ushort4

Declaration
From
case UShort4Normalized
To
case ushort4Normalized

Declaration
From
enum MTLVertexStepFunction : UInt {
    case Constant
    case PerVertex
    case PerInstance
}
To
enum MTLVertexStepFunction : UInt {
    case constant
    case perVertex
    case perInstance
    case perPatch
    case perPatchControlPoint
}

Declaration
From
case Constant
To
case constant

Declaration
From
case PerInstance
To
case perInstance

Declaration
From
case PerVertex
To
case perVertex

Declaration
From
enum MTLVisibilityResultMode : UInt {
    case Disabled
    case Boolean
    case Counting
}
To
enum MTLVisibilityResultMode : UInt {
    case disabled
    case boolean
    case counting
}

Declaration
From
case Boolean
To
case boolean

Declaration
From
case Counting
To
case counting

Declaration
From
case Disabled
To
case disabled

Declaration
From
enum MTLWinding : UInt {
    case Clockwise
    case CounterClockwise
}
To
enum MTLWinding : UInt {
    case clockwise
    case counterClockwise
}

Declaration
From
case Clockwise
To
case clockwise

Declaration
From
case CounterClockwise
To
case counterClockwise

Declaration
From
typealias MTLCommandBufferHandler = (MTLCommandBuffer) -> Void
To
typealias MTLCommandBufferHandler = (MTLCommandBuffer) -> Swift.Void

Declaration
From
typealias MTLNewComputePipelineStateCompletionHandler = (MTLComputePipelineState?, NSError?) -> Void
To
typealias MTLNewComputePipelineStateCompletionHandler = (MTLComputePipelineState?, Error?) -> Swift.Void

Declaration
From
typealias MTLNewComputePipelineStateWithReflectionCompletionHandler = (MTLComputePipelineState?, MTLComputePipelineReflection?, NSError?) -> Void
To
typealias MTLNewComputePipelineStateWithReflectionCompletionHandler = (MTLComputePipelineState?, MTLComputePipelineReflection?, Error?) -> Swift.Void

Declaration
From
typealias MTLNewLibraryCompletionHandler = (MTLLibrary?, NSError?) -> Void
To
typealias MTLNewLibraryCompletionHandler = (MTLLibrary?, Error?) -> Swift.Void

Declaration
From
typealias MTLNewRenderPipelineStateCompletionHandler = (MTLRenderPipelineState?, NSError?) -> Void
To
typealias MTLNewRenderPipelineStateCompletionHandler = (MTLRenderPipelineState?, Error?) -> Swift.Void

Declaration
From
typealias MTLNewRenderPipelineStateWithReflectionCompletionHandler = (MTLRenderPipelineState?, MTLRenderPipelineReflection?, NSError?) -> Void
To
typealias MTLNewRenderPipelineStateWithReflectionCompletionHandler = (MTLRenderPipelineState?, MTLRenderPipelineReflection?, Error?) -> Swift.Void