Metal Changes for Swift
Metal
Removed MTLBlitOption.None
Removed MTLColorWriteMask.None
Removed MTLFeatureSet.TVOS_GPUFamily1_v1
Removed MTLPipelineOption.None
Added MTLArgument.arrayLength
Added MTLAttribute
Added MTLAttribute.isActive
Added MTLAttribute.isPatchData
Added MTLAttribute.name
Added MTLAttributeDescriptor
Added MTLAttributeFormat.char2
Added MTLAttributeFormat.char3
Added MTLAttributeFormat.char4
Added MTLAttributeFormat.float
Added MTLAttributeFormat.half2
Added MTLAttributeFormat.half3
Added MTLAttributeFormat.half4
Added MTLAttributeFormat.int
Added MTLAttributeFormat.int2
Added MTLAttributeFormat.int3
Added MTLAttributeFormat.int4
Added MTLAttributeFormat.uint
Added MTLAttributeFormat.uint2
Added MTLAttributeFormat.uint3
Added MTLAttributeFormat.uint4
Added MTLFence
Added MTLFence.device
Added MTLFence.label
Added MTLFunction.label
Added MTLFunction.patchType
Added MTLFunctionConstant
Added MTLFunctionConstant.name
Added MTLFunctionConstant.type
Added MTLFunctionConstantValues.setConstantValue(_: UnsafeRawPointer, type: MTLDataType, withName: String)
Added MTLFunctionConstantValues.setConstantValues(_: UnsafeRawPointer, type: MTLDataType, with: NSRange)
Added MTLHeap
Added MTLHeap.cpuCacheMode
Added MTLHeap.device
Added MTLHeap.label
Added MTLHeap.size
Added MTLHeap.storageMode
Added MTLHeap.usedSize
Added MTLHeapDescriptor
Added MTLHeapDescriptor.size
Added MTLPatchType [enum]
Added MTLPatchType.none
Added MTLPatchType.quad
Added MTLPatchType.triangle
Added MTLPixelFormat.bgr10_xr
Added MTLPixelFormat.BGRA10_XR
Added MTLRenderCommandEncoder.setTessellationFactorBuffer(_: MTLBuffer?, offset: Int, instanceStride: Int)
Added MTLRenderStages [struct]
Added MTLRenderStages.fragment
Added MTLRenderStages.vertex
Added MTLResource.heap
Added MTLSizeAndAlign [struct]
Added MTLSizeAndAlign.align
Added MTLSizeAndAlign.init()
Added MTLSizeAndAlign.size
Added MTLStepFunction [enum]
Added MTLStepFunction.constant
Added MTLStepFunction.perPatch
Added MTLStoreAction.unknown
Added MTLResourceHazardTrackingModeShift
Modified MTLArgument
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLArgument.isActive
Declaration | |
---|---|
From | var active: Bool { get } |
To | var isActive: Bool { get } |
Modified MTLArgumentAccess [enum]
Declaration | |
---|---|
From | enum MTLArgumentAccess : UInt { case ReadOnly case ReadWrite case WriteOnly } |
To | enum MTLArgumentAccess : UInt { case readOnly case readWrite case writeOnly } |
Modified MTLArgumentAccess.readOnly
Declaration | |
---|---|
From | case ReadOnly |
To | case readOnly |
Modified MTLArgumentAccess.readWrite
Declaration | |
---|---|
From | case ReadWrite |
To | case readWrite |
Modified MTLArgumentAccess.writeOnly
Declaration | |
---|---|
From | case WriteOnly |
To | case writeOnly |
Modified MTLArgumentType [enum]
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 } |
Modified MTLArgumentType.buffer
Declaration | |
---|---|
From | case Buffer |
To | case buffer |
Modified MTLArgumentType.sampler
Declaration | |
---|---|
From | case Sampler |
To | case sampler |
Modified MTLArgumentType.texture
Declaration | |
---|---|
From | case Texture |
To | case texture |
Modified MTLArgumentType.threadgroupMemory
Declaration | |
---|---|
From | case ThreadgroupMemory |
To | case threadgroupMemory |
Modified MTLArrayType
Declaration | Protocols | |
---|---|---|
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? |
Modified MTLBlendFactor [enum]
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 } |
Modified MTLBlendFactor.blendAlpha
Declaration | |
---|---|
From | case BlendAlpha |
To | case blendAlpha |
Modified MTLBlendFactor.blendColor
Declaration | |
---|---|
From | case BlendColor |
To | case blendColor |
Modified MTLBlendFactor.destinationAlpha
Declaration | |
---|---|
From | case DestinationAlpha |
To | case destinationAlpha |
Modified MTLBlendFactor.destinationColor
Declaration | |
---|---|
From | case DestinationColor |
To | case destinationColor |
Modified MTLBlendFactor.one
Declaration | |
---|---|
From | case One |
To | case one |
Modified MTLBlendFactor.oneMinusBlendAlpha
Declaration | |
---|---|
From | case OneMinusBlendAlpha |
To | case oneMinusBlendAlpha |
Modified MTLBlendFactor.oneMinusBlendColor
Declaration | |
---|---|
From | case OneMinusBlendColor |
To | case oneMinusBlendColor |
Declaration | |
---|---|
From | case OneMinusDestinationAlpha |
To | case oneMinusDestinationAlpha |
Declaration | |
---|---|
From | case OneMinusDestinationColor |
To | case oneMinusDestinationColor |
Modified MTLBlendFactor.oneMinusSourceAlpha
Declaration | |
---|---|
From | case OneMinusSourceAlpha |
To | case oneMinusSourceAlpha |
Modified MTLBlendFactor.oneMinusSourceColor
Declaration | |
---|---|
From | case OneMinusSourceColor |
To | case oneMinusSourceColor |
Modified MTLBlendFactor.sourceAlpha
Declaration | |
---|---|
From | case SourceAlpha |
To | case sourceAlpha |
Modified MTLBlendFactor.sourceAlphaSaturated
Declaration | |
---|---|
From | case SourceAlphaSaturated |
To | case sourceAlphaSaturated |
Modified MTLBlendFactor.sourceColor
Declaration | |
---|---|
From | case SourceColor |
To | case sourceColor |
Modified MTLBlendFactor.zero
Declaration | |
---|---|
From | case Zero |
To | case zero |
Modified MTLBlendOperation [enum]
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 } |
Modified MTLBlendOperation.add
Declaration | |
---|---|
From | case Add |
To | case add |
Modified MTLBlendOperation.max
Declaration | |
---|---|
From | case Max |
To | case max |
Modified MTLBlendOperation.min
Declaration | |
---|---|
From | case Min |
To | case min |
Modified MTLBlendOperation.reverseSubtract
Declaration | |
---|---|
From | case ReverseSubtract |
To | case reverseSubtract |
Modified MTLBlendOperation.subtract
Declaration | |
---|---|
From | case Subtract |
To | case subtract |
Modified MTLBlitCommandEncoder
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) |
Modified MTLBlitOption [struct]
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLBlitOption.depthFromDepthStencil
Declaration | |
---|---|
From | static var DepthFromDepthStencil: MTLBlitOption { get } |
To | static var depthFromDepthStencil: MTLBlitOption { get } |
Modified MTLBlitOption.rowLinearPVRTC
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 |
Modified MTLBuffer.makeTexture(descriptor: MTLTextureDescriptor, offset: Int, bytesPerRow: Int) -> MTLTexture
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 |
Modified MTLColorWriteMask [struct]
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLColorWriteMask.all
Declaration | |
---|---|
From | static var All: MTLColorWriteMask { get } |
To | static var all: MTLColorWriteMask { get } |
Modified MTLColorWriteMask.alpha
Declaration | |
---|---|
From | static var Alpha: MTLColorWriteMask { get } |
To | static var alpha: MTLColorWriteMask { get } |
Modified MTLColorWriteMask.blue
Declaration | |
---|---|
From | static var Blue: MTLColorWriteMask { get } |
To | static var blue: MTLColorWriteMask { get } |
Modified MTLColorWriteMask.green
Declaration | |
---|---|
From | static var Green: MTLColorWriteMask { get } |
To | static var green: MTLColorWriteMask { get } |
Modified MTLColorWriteMask.red
Declaration | |
---|---|
From | static var Red: MTLColorWriteMask { get } |
To | static var red: MTLColorWriteMask { get } |
Modified MTLCommandBuffer
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) |
Modified MTLCommandBuffer.error
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) |
Modified MTLCommandBufferErrorDomain [enum]
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 |
Modified MTLCommandBufferErrorDomain.internal
Declaration | |
---|---|
From | case Internal |
To | case `internal` |
Declaration | |
---|---|
From | case InvalidResource |
To | case invalidResource |
Modified MTLCommandBufferErrorDomain.none
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 |
Modified MTLCommandBufferErrorDomain.timeout
Declaration | |
---|---|
From | case Timeout |
To | case timeout |
Modified MTLCommandBufferStatus [enum]
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 } |
Modified MTLCommandBufferStatus.committed
Declaration | |
---|---|
From | case Committed |
To | case committed |
Modified MTLCommandBufferStatus.completed
Declaration | |
---|---|
From | case Completed |
To | case completed |
Modified MTLCommandBufferStatus.enqueued
Declaration | |
---|---|
From | case Enqueued |
To | case enqueued |
Modified MTLCommandBufferStatus.error
Declaration | |
---|---|
From | case Error |
To | case error |
Modified MTLCommandBufferStatus.notEnqueued
Declaration | |
---|---|
From | case NotEnqueued |
To | case notEnqueued |
Modified MTLCommandBufferStatus.scheduled
Declaration | |
---|---|
From | case Scheduled |
To | case scheduled |
Modified MTLCommandQueue
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 |
Modified MTLCompareFunction [enum]
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 } |
Modified MTLCompareFunction.always
Declaration | |
---|---|
From | case Always |
To | case always |
Modified MTLCompareFunction.equal
Declaration | |
---|---|
From | case Equal |
To | case equal |
Modified MTLCompareFunction.greater
Declaration | |
---|---|
From | case Greater |
To | case greater |
Modified MTLCompareFunction.greaterEqual
Declaration | |
---|---|
From | case GreaterEqual |
To | case greaterEqual |
Modified MTLCompareFunction.less
Declaration | |
---|---|
From | case Less |
To | case less |
Modified MTLCompareFunction.lessEqual
Declaration | |
---|---|
From | case LessEqual |
To | case lessEqual |
Modified MTLCompareFunction.never
Declaration | |
---|---|
From | case Never |
To | case never |
Modified MTLCompareFunction.notEqual
Declaration | |
---|---|
From | case NotEqual |
To | case notEqual |
Modified MTLCompileOptions
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLComputeCommandEncoder
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) |
Modified MTLComputeCommandEncoder.setSamplerStates(_: UnsafePointer<MTLSamplerState?>!, with: 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) |
Modified MTLComputePipelineDescriptor
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLComputePipelineReflection
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLCPUCacheMode [enum]
Declaration | |
---|---|
From | enum MTLCPUCacheMode : UInt { case DefaultCache case WriteCombined } |
To | enum MTLCPUCacheMode : UInt { case defaultCache case writeCombined } |
Modified MTLCPUCacheMode.defaultCache
Declaration | |
---|---|
From | case DefaultCache |
To | case defaultCache |
Modified MTLCPUCacheMode.writeCombined
Declaration | |
---|---|
From | case WriteCombined |
To | case writeCombined |
Modified MTLCullMode [enum]
Declaration | |
---|---|
From | enum MTLCullMode : UInt { case None case Front case Back } |
To | enum MTLCullMode : UInt { case none case front case back } |
Modified MTLCullMode.back
Declaration | |
---|---|
From | case Back |
To | case back |
Modified MTLCullMode.front
Declaration | |
---|---|
From | case Front |
To | case front |
Modified MTLCullMode.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified MTLDataType [enum]
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 } |
Modified MTLDataType.array
Declaration | |
---|---|
From | case Array |
To | case array |
Modified MTLDataType.bool
Declaration | |
---|---|
From | case Bool |
To | case bool |
Modified MTLDataType.bool2
Declaration | |
---|---|
From | case Bool2 |
To | case bool2 |
Modified MTLDataType.bool3
Declaration | |
---|---|
From | case Bool3 |
To | case bool3 |
Modified MTLDataType.bool4
Declaration | |
---|---|
From | case Bool4 |
To | case bool4 |
Modified MTLDataType.char
Declaration | |
---|---|
From | case Char |
To | case char |
Modified MTLDataType.char2
Declaration | |
---|---|
From | case Char2 |
To | case char2 |
Modified MTLDataType.char3
Declaration | |
---|---|
From | case Char3 |
To | case char3 |
Modified MTLDataType.char4
Declaration | |
---|---|
From | case Char4 |
To | case char4 |
Modified MTLDataType.float
Declaration | |
---|---|
From | case Float |
To | case float |
Modified MTLDataType.float2
Declaration | |
---|---|
From | case Float2 |
To | case float2 |
Modified MTLDataType.float2x2
Declaration | |
---|---|
From | case Float2x2 |
To | case float2x2 |
Modified MTLDataType.float2x3
Declaration | |
---|---|
From | case Float2x3 |
To | case float2x3 |
Modified MTLDataType.float2x4
Declaration | |
---|---|
From | case Float2x4 |
To | case float2x4 |
Modified MTLDataType.float3
Declaration | |
---|---|
From | case Float3 |
To | case float3 |
Modified MTLDataType.float3x2
Declaration | |
---|---|
From | case Float3x2 |
To | case float3x2 |
Modified MTLDataType.float3x3
Declaration | |
---|---|
From | case Float3x3 |
To | case float3x3 |
Modified MTLDataType.float3x4
Declaration | |
---|---|
From | case Float3x4 |
To | case float3x4 |
Modified MTLDataType.float4
Declaration | |
---|---|
From | case Float4 |
To | case float4 |
Modified MTLDataType.float4x2
Declaration | |
---|---|
From | case Float4x2 |
To | case float4x2 |
Modified MTLDataType.float4x3
Declaration | |
---|---|
From | case Float4x3 |
To | case float4x3 |
Modified MTLDataType.float4x4
Declaration | |
---|---|
From | case Float4x4 |
To | case float4x4 |
Modified MTLDataType.half
Declaration | |
---|---|
From | case Half |
To | case half |
Modified MTLDataType.half2
Declaration | |
---|---|
From | case Half2 |
To | case half2 |
Modified MTLDataType.half2x2
Declaration | |
---|---|
From | case Half2x2 |
To | case half2x2 |
Modified MTLDataType.half2x3
Declaration | |
---|---|
From | case Half2x3 |
To | case half2x3 |
Modified MTLDataType.half2x4
Declaration | |
---|---|
From | case Half2x4 |
To | case half2x4 |
Modified MTLDataType.half3
Declaration | |
---|---|
From | case Half3 |
To | case half3 |
Modified MTLDataType.half3x2
Declaration | |
---|---|
From | case Half3x2 |
To | case half3x2 |
Modified MTLDataType.half3x3
Declaration | |
---|---|
From | case Half3x3 |
To | case half3x3 |
Modified MTLDataType.half3x4
Declaration | |
---|---|
From | case Half3x4 |
To | case half3x4 |
Modified MTLDataType.half4
Declaration | |
---|---|
From | case Half4 |
To | case half4 |
Modified MTLDataType.half4x2
Declaration | |
---|---|
From | case Half4x2 |
To | case half4x2 |
Modified MTLDataType.half4x3
Declaration | |
---|---|
From | case Half4x3 |
To | case half4x3 |
Modified MTLDataType.half4x4
Declaration | |
---|---|
From | case Half4x4 |
To | case half4x4 |
Modified MTLDataType.int
Declaration | |
---|---|
From | case Int |
To | case int |
Modified MTLDataType.int2
Declaration | |
---|---|
From | case Int2 |
To | case int2 |
Modified MTLDataType.int3
Declaration | |
---|---|
From | case Int3 |
To | case int3 |
Modified MTLDataType.int4
Declaration | |
---|---|
From | case Int4 |
To | case int4 |
Modified MTLDataType.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified MTLDataType.short
Declaration | |
---|---|
From | case Short |
To | case short |
Modified MTLDataType.short2
Declaration | |
---|---|
From | case Short2 |
To | case short2 |
Modified MTLDataType.short3
Declaration | |
---|---|
From | case Short3 |
To | case short3 |
Modified MTLDataType.short4
Declaration | |
---|---|
From | case Short4 |
To | case short4 |
Modified MTLDataType.struct
Declaration | |
---|---|
From | case Struct |
To | case `struct` |
Modified MTLDataType.uchar
Declaration | |
---|---|
From | case UChar |
To | case uchar |
Modified MTLDataType.uchar2
Declaration | |
---|---|
From | case UChar2 |
To | case uchar2 |
Modified MTLDataType.uchar3
Declaration | |
---|---|
From | case UChar3 |
To | case uchar3 |
Modified MTLDataType.uchar4
Declaration | |
---|---|
From | case UChar4 |
To | case uchar4 |
Modified MTLDataType.uint
Declaration | |
---|---|
From | case UInt |
To | case uint |
Modified MTLDataType.uint2
Declaration | |
---|---|
From | case UInt2 |
To | case uint2 |
Modified MTLDataType.uint3
Declaration | |
---|---|
From | case UInt3 |
To | case uint3 |
Modified MTLDataType.uint4
Declaration | |
---|---|
From | case UInt4 |
To | case uint4 |
Modified MTLDataType.ushort
Declaration | |
---|---|
From | case UShort |
To | case ushort |
Modified MTLDataType.ushort2
Declaration | |
---|---|
From | case UShort2 |
To | case ushort2 |
Modified MTLDataType.ushort3
Declaration | |
---|---|
From | case UShort3 |
To | case ushort3 |
Modified MTLDataType.ushort4
Declaration | |
---|---|
From | case UShort4 |
To | case ushort4 |
Modified MTLDepthClipMode [enum]
Declaration | |
---|---|
From | enum MTLDepthClipMode : UInt { case Clip case Clamp } |
To | enum MTLDepthClipMode : UInt { case clip case clamp } |
Modified MTLDepthClipMode.clamp
Declaration | |
---|---|
From | case Clamp |
To | case clamp |
Modified MTLDepthClipMode.clip
Declaration | |
---|---|
From | case Clip |
To | case clip |
Modified MTLDepthStencilDescriptor
Declaration | Protocols | |
---|---|---|
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 } |
Modified MTLDevice.makeBuffer() -> MTLBuffer
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 |
Modified MTLDevice.makeBuffer() -> 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 |
Modified MTLDevice.makeComputePipelineState(function: MTLFunction) 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 |
Modified MTLDevice.makeDepthStencilState(descriptor: MTLDepthStencilDescriptor) -> MTLDepthStencilState
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) |
Modified MTLFeatureSet [enum]
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 } } |
Modified MTLFunctionType [enum]
Declaration | |
---|---|
From | enum MTLFunctionType : UInt { case Vertex case Fragment case Kernel } |
To | enum MTLFunctionType : UInt { case vertex case fragment case kernel } |
Modified MTLFunctionType.fragment
Declaration | |
---|---|
From | case Fragment |
To | case fragment |
Modified MTLFunctionType.kernel
Declaration | |
---|---|
From | case Kernel |
To | case kernel |
Modified MTLFunctionType.vertex
Declaration | |
---|---|
From | case Vertex |
To | case vertex |
Modified MTLIndexType [enum]
Declaration | |
---|---|
From | enum MTLIndexType : UInt { case UInt16 case UInt32 } |
To | enum MTLIndexType : UInt { case uint16 case uint32 } |
Modified MTLIndexType.uint16
Declaration | |
---|---|
From | case UInt16 |
To | case uint16 |
Modified MTLIndexType.uint32
Declaration | |
---|---|
From | case UInt32 |
To | case uint32 |
Modified MTLLanguageVersion [enum]
Declaration | |
---|---|
From | enum MTLLanguageVersion : UInt { case Version1_0 case Version1_1 } |
To | enum MTLLanguageVersion : UInt { case version1_0 case version1_1 case version1_2 } |
Modified MTLLanguageVersion.version1_0
Declaration | |
---|---|
From | case Version1_0 |
To | case version1_0 |
Modified MTLLanguageVersion.version1_1
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? |
Modified MTLLibraryErrorDomain [enum]
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 } |
Modified MTLLibraryErrorDomain.compileFailure
Declaration | |
---|---|
From | case CompileFailure |
To | case compileFailure |
Modified MTLLibraryErrorDomain.compileWarning
Declaration | |
---|---|
From | case CompileWarning |
To | case compileWarning |
Modified MTLLibraryErrorDomain.internal
Declaration | |
---|---|
From | case Internal |
To | case `internal` |
Modified MTLLibraryErrorDomain.unsupported
Declaration | |
---|---|
From | case Unsupported |
To | case unsupported |
Modified MTLLoadAction [enum]
Declaration | |
---|---|
From | enum MTLLoadAction : UInt { case DontCare case Load case Clear } |
To | enum MTLLoadAction : UInt { case dontCare case load case clear } |
Modified MTLLoadAction.clear
Declaration | |
---|---|
From | case Clear |
To | case clear |
Modified MTLLoadAction.dontCare
Declaration | |
---|---|
From | case DontCare |
To | case dontCare |
Modified MTLLoadAction.load
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 } |
Modified MTLMultisampleDepthResolveFilter.max
Declaration | |
---|---|
From | case Max |
To | case max |
Modified MTLMultisampleDepthResolveFilter.min
Declaration | |
---|---|
From | case Min |
To | case min |
Declaration | |
---|---|
From | case Sample0 |
To | case sample0 |
Modified MTLParallelRenderCommandEncoder
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 |
Modified MTLPipelineOption [struct]
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLPipelineOption.argumentInfo
Declaration | |
---|---|
From | static var ArgumentInfo: MTLPipelineOption { get } |
To | static var argumentInfo: MTLPipelineOption { get } |
Modified MTLPipelineOption.bufferTypeInfo
Declaration | |
---|---|
From | static var BufferTypeInfo: MTLPipelineOption { get } |
To | static var bufferTypeInfo: MTLPipelineOption { get } |
Modified MTLPixelFormat [enum]
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 } |
Modified MTLPixelFormat.a1bgr5Unorm
Declaration | |
---|---|
From | case A1BGR5Unorm |
To | case a1bgr5Unorm |
Modified MTLPixelFormat.a8Unorm
Declaration | |
---|---|
From | case A8Unorm |
To | case a8Unorm |
Modified MTLPixelFormat.abgr4Unorm
Declaration | |
---|---|
From | case ABGR4Unorm |
To | case abgr4Unorm |
Modified MTLPixelFormat.astc_10x10_ldr
Declaration | |
---|---|
From | case ASTC_10x10_LDR |
To | case astc_10x10_ldr |
Modified MTLPixelFormat.astc_10x10_srgb
Declaration | |
---|---|
From | case ASTC_10x10_sRGB |
To | case astc_10x10_srgb |
Modified MTLPixelFormat.astc_10x5_ldr
Declaration | |
---|---|
From | case ASTC_10x5_LDR |
To | case astc_10x5_ldr |
Modified MTLPixelFormat.astc_10x5_srgb
Declaration | |
---|---|
From | case ASTC_10x5_sRGB |
To | case astc_10x5_srgb |
Modified MTLPixelFormat.astc_10x6_ldr
Declaration | |
---|---|
From | case ASTC_10x6_LDR |
To | case astc_10x6_ldr |
Modified MTLPixelFormat.astc_10x6_srgb
Declaration | |
---|---|
From | case ASTC_10x6_sRGB |
To | case astc_10x6_srgb |
Modified MTLPixelFormat.astc_10x8_ldr
Declaration | |
---|---|
From | case ASTC_10x8_LDR |
To | case astc_10x8_ldr |
Modified MTLPixelFormat.astc_10x8_srgb
Declaration | |
---|---|
From | case ASTC_10x8_sRGB |
To | case astc_10x8_srgb |
Modified MTLPixelFormat.astc_12x10_ldr
Declaration | |
---|---|
From | case ASTC_12x10_LDR |
To | case astc_12x10_ldr |
Modified MTLPixelFormat.astc_12x10_srgb
Declaration | |
---|---|
From | case ASTC_12x10_sRGB |
To | case astc_12x10_srgb |
Modified MTLPixelFormat.astc_12x12_ldr
Declaration | |
---|---|
From | case ASTC_12x12_LDR |
To | case astc_12x12_ldr |
Modified MTLPixelFormat.astc_12x12_srgb
Declaration | |
---|---|
From | case ASTC_12x12_sRGB |
To | case astc_12x12_srgb |
Modified MTLPixelFormat.astc_4x4_ldr
Declaration | |
---|---|
From | case ASTC_4x4_LDR |
To | case astc_4x4_ldr |
Modified MTLPixelFormat.astc_4x4_srgb
Declaration | |
---|---|
From | case ASTC_4x4_sRGB |
To | case astc_4x4_srgb |
Modified MTLPixelFormat.astc_5x4_ldr
Declaration | |
---|---|
From | case ASTC_5x4_LDR |
To | case astc_5x4_ldr |
Modified MTLPixelFormat.astc_5x4_srgb
Declaration | |
---|---|
From | case ASTC_5x4_sRGB |
To | case astc_5x4_srgb |
Modified MTLPixelFormat.astc_5x5_ldr
Declaration | |
---|---|
From | case ASTC_5x5_LDR |
To | case astc_5x5_ldr |
Modified MTLPixelFormat.astc_5x5_srgb
Declaration | |
---|---|
From | case ASTC_5x5_sRGB |
To | case astc_5x5_srgb |
Modified MTLPixelFormat.astc_6x5_ldr
Declaration | |
---|---|
From | case ASTC_6x5_LDR |
To | case astc_6x5_ldr |
Modified MTLPixelFormat.astc_6x5_srgb
Declaration | |
---|---|
From | case ASTC_6x5_sRGB |
To | case astc_6x5_srgb |
Modified MTLPixelFormat.astc_6x6_ldr
Declaration | |
---|---|
From | case ASTC_6x6_LDR |
To | case astc_6x6_ldr |
Modified MTLPixelFormat.astc_6x6_srgb
Declaration | |
---|---|
From | case ASTC_6x6_sRGB |
To | case astc_6x6_srgb |
Modified MTLPixelFormat.astc_8x5_ldr
Declaration | |
---|---|
From | case ASTC_8x5_LDR |
To | case astc_8x5_ldr |
Modified MTLPixelFormat.astc_8x5_srgb
Declaration | |
---|---|
From | case ASTC_8x5_sRGB |
To | case astc_8x5_srgb |
Modified MTLPixelFormat.astc_8x6_ldr
Declaration | |
---|---|
From | case ASTC_8x6_LDR |
To | case astc_8x6_ldr |
Modified MTLPixelFormat.astc_8x6_srgb
Declaration | |
---|---|
From | case ASTC_8x6_sRGB |
To | case astc_8x6_srgb |
Modified MTLPixelFormat.astc_8x8_ldr
Declaration | |
---|---|
From | case ASTC_8x8_LDR |
To | case astc_8x8_ldr |
Modified MTLPixelFormat.astc_8x8_srgb
Declaration | |
---|---|
From | case ASTC_8x8_sRGB |
To | case astc_8x8_srgb |
Modified MTLPixelFormat.b5g6r5Unorm
Declaration | |
---|---|
From | case B5G6R5Unorm |
To | case b5g6r5Unorm |
Modified MTLPixelFormat.bgr5A1Unorm
Declaration | |
---|---|
From | case BGR5A1Unorm |
To | case bgr5A1Unorm |
Modified MTLPixelFormat.bgra8Unorm
Declaration | |
---|---|
From | case BGRA8Unorm |
To | case bgra8Unorm |
Modified MTLPixelFormat.bgra8Unorm_srgb
Declaration | |
---|---|
From | case BGRA8Unorm_sRGB |
To | case bgra8Unorm_srgb |
Modified MTLPixelFormat.bgrg422
Declaration | |
---|---|
From | case BGRG422 |
To | case bgrg422 |
Modified MTLPixelFormat.depth32Float
Declaration | |
---|---|
From | case Depth32Float |
To | case depth32Float |
Modified MTLPixelFormat.depth32Float_stencil8
Declaration | |
---|---|
From | case Depth32Float_Stencil8 |
To | case depth32Float_stencil8 |
Modified MTLPixelFormat.eac_r11Snorm
Declaration | |
---|---|
From | case EAC_R11Snorm |
To | case eac_r11Snorm |
Modified MTLPixelFormat.eac_r11Unorm
Declaration | |
---|---|
From | case EAC_R11Unorm |
To | case eac_r11Unorm |
Modified MTLPixelFormat.eac_rg11Snorm
Declaration | |
---|---|
From | case EAC_RG11Snorm |
To | case eac_rg11Snorm |
Modified MTLPixelFormat.eac_rg11Unorm
Declaration | |
---|---|
From | case EAC_RG11Unorm |
To | case eac_rg11Unorm |
Modified MTLPixelFormat.eac_rgba8
Declaration | |
---|---|
From | case EAC_RGBA8 |
To | case eac_rgba8 |
Modified MTLPixelFormat.eac_rgba8_srgb
Declaration | |
---|---|
From | case EAC_RGBA8_sRGB |
To | case eac_rgba8_srgb |
Modified MTLPixelFormat.etc2_rgb8
Declaration | |
---|---|
From | case ETC2_RGB8 |
To | case etc2_rgb8 |
Modified MTLPixelFormat.etc2_rgb8_srgb
Declaration | |
---|---|
From | case ETC2_RGB8_sRGB |
To | case etc2_rgb8_srgb |
Modified MTLPixelFormat.etc2_rgb8a1
Declaration | |
---|---|
From | case ETC2_RGB8A1 |
To | case etc2_rgb8a1 |
Modified MTLPixelFormat.etc2_rgb8a1_srgb
Declaration | |
---|---|
From | case ETC2_RGB8A1_sRGB |
To | case etc2_rgb8a1_srgb |
Modified MTLPixelFormat.gbgr422
Declaration | |
---|---|
From | case GBGR422 |
To | case gbgr422 |
Modified MTLPixelFormat.invalid
Declaration | |
---|---|
From | case Invalid |
To | case invalid |
Modified MTLPixelFormat.pvrtc_rgb_2bpp
Declaration | |
---|---|
From | case PVRTC_RGB_2BPP |
To | case pvrtc_rgb_2bpp |
Modified MTLPixelFormat.pvrtc_rgb_2bpp_srgb
Declaration | |
---|---|
From | case PVRTC_RGB_2BPP_sRGB |
To | case pvrtc_rgb_2bpp_srgb |
Modified MTLPixelFormat.pvrtc_rgb_4bpp
Declaration | |
---|---|
From | case PVRTC_RGB_4BPP |
To | case pvrtc_rgb_4bpp |
Modified MTLPixelFormat.pvrtc_rgb_4bpp_srgb
Declaration | |
---|---|
From | case PVRTC_RGB_4BPP_sRGB |
To | case pvrtc_rgb_4bpp_srgb |
Modified MTLPixelFormat.pvrtc_rgba_2bpp
Declaration | |
---|---|
From | case PVRTC_RGBA_2BPP |
To | case pvrtc_rgba_2bpp |
Modified MTLPixelFormat.pvrtc_rgba_2bpp_srgb
Declaration | |
---|---|
From | case PVRTC_RGBA_2BPP_sRGB |
To | case pvrtc_rgba_2bpp_srgb |
Modified MTLPixelFormat.pvrtc_rgba_4bpp
Declaration | |
---|---|
From | case PVRTC_RGBA_4BPP |
To | case pvrtc_rgba_4bpp |
Modified MTLPixelFormat.pvrtc_rgba_4bpp_srgb
Declaration | |
---|---|
From | case PVRTC_RGBA_4BPP_sRGB |
To | case pvrtc_rgba_4bpp_srgb |
Modified MTLPixelFormat.r16Float
Declaration | |
---|---|
From | case R16Float |
To | case r16Float |
Modified MTLPixelFormat.r16Sint
Declaration | |
---|---|
From | case R16Sint |
To | case r16Sint |
Modified MTLPixelFormat.r16Snorm
Declaration | |
---|---|
From | case R16Snorm |
To | case r16Snorm |
Modified MTLPixelFormat.r16Uint
Declaration | |
---|---|
From | case R16Uint |
To | case r16Uint |
Modified MTLPixelFormat.r16Unorm
Declaration | |
---|---|
From | case R16Unorm |
To | case r16Unorm |
Modified MTLPixelFormat.r32Float
Declaration | |
---|---|
From | case R32Float |
To | case r32Float |
Modified MTLPixelFormat.r32Sint
Declaration | |
---|---|
From | case R32Sint |
To | case r32Sint |
Modified MTLPixelFormat.r32Uint
Declaration | |
---|---|
From | case R32Uint |
To | case r32Uint |
Modified MTLPixelFormat.r8Sint
Declaration | |
---|---|
From | case R8Sint |
To | case r8Sint |
Modified MTLPixelFormat.r8Snorm
Declaration | |
---|---|
From | case R8Snorm |
To | case r8Snorm |
Modified MTLPixelFormat.r8Uint
Declaration | |
---|---|
From | case R8Uint |
To | case r8Uint |
Modified MTLPixelFormat.r8Unorm
Declaration | |
---|---|
From | case R8Unorm |
To | case r8Unorm |
Modified MTLPixelFormat.r8Unorm_srgb
Declaration | |
---|---|
From | case R8Unorm_sRGB |
To | case r8Unorm_srgb |
Modified MTLPixelFormat.rg11b10Float
Declaration | |
---|---|
From | case RG11B10Float |
To | case rg11b10Float |
Modified MTLPixelFormat.rg16Float
Declaration | |
---|---|
From | case RG16Float |
To | case rg16Float |
Modified MTLPixelFormat.rg16Sint
Declaration | |
---|---|
From | case RG16Sint |
To | case rg16Sint |
Modified MTLPixelFormat.rg16Snorm
Declaration | |
---|---|
From | case RG16Snorm |
To | case rg16Snorm |
Modified MTLPixelFormat.rg16Uint
Declaration | |
---|---|
From | case RG16Uint |
To | case rg16Uint |
Modified MTLPixelFormat.rg16Unorm
Declaration | |
---|---|
From | case RG16Unorm |
To | case rg16Unorm |
Modified MTLPixelFormat.rg32Float
Declaration | |
---|---|
From | case RG32Float |
To | case rg32Float |
Modified MTLPixelFormat.rg32Sint
Declaration | |
---|---|
From | case RG32Sint |
To | case rg32Sint |
Modified MTLPixelFormat.rg32Uint
Declaration | |
---|---|
From | case RG32Uint |
To | case rg32Uint |
Modified MTLPixelFormat.rg8Sint
Declaration | |
---|---|
From | case RG8Sint |
To | case rg8Sint |
Modified MTLPixelFormat.rg8Snorm
Declaration | |
---|---|
From | case RG8Snorm |
To | case rg8Snorm |
Modified MTLPixelFormat.rg8Uint
Declaration | |
---|---|
From | case RG8Uint |
To | case rg8Uint |
Modified MTLPixelFormat.rg8Unorm
Declaration | |
---|---|
From | case RG8Unorm |
To | case rg8Unorm |
Modified MTLPixelFormat.rg8Unorm_srgb
Declaration | |
---|---|
From | case RG8Unorm_sRGB |
To | case rg8Unorm_srgb |
Modified MTLPixelFormat.rgb10a2Uint
Declaration | |
---|---|
From | case RGB10A2Uint |
To | case rgb10a2Uint |
Modified MTLPixelFormat.rgb10a2Unorm
Declaration | |
---|---|
From | case RGB10A2Unorm |
To | case rgb10a2Unorm |
Modified MTLPixelFormat.rgb9e5Float
Declaration | |
---|---|
From | case RGB9E5Float |
To | case rgb9e5Float |
Modified MTLPixelFormat.rgba16Float
Declaration | |
---|---|
From | case RGBA16Float |
To | case rgba16Float |
Modified MTLPixelFormat.rgba16Sint
Declaration | |
---|---|
From | case RGBA16Sint |
To | case rgba16Sint |
Modified MTLPixelFormat.rgba16Snorm
Declaration | |
---|---|
From | case RGBA16Snorm |
To | case rgba16Snorm |
Modified MTLPixelFormat.rgba16Uint
Declaration | |
---|---|
From | case RGBA16Uint |
To | case rgba16Uint |
Modified MTLPixelFormat.rgba16Unorm
Declaration | |
---|---|
From | case RGBA16Unorm |
To | case rgba16Unorm |
Modified MTLPixelFormat.rgba32Float
Declaration | |
---|---|
From | case RGBA32Float |
To | case rgba32Float |
Modified MTLPixelFormat.rgba32Sint
Declaration | |
---|---|
From | case RGBA32Sint |
To | case rgba32Sint |
Modified MTLPixelFormat.rgba32Uint
Declaration | |
---|---|
From | case RGBA32Uint |
To | case rgba32Uint |
Modified MTLPixelFormat.rgba8Sint
Declaration | |
---|---|
From | case RGBA8Sint |
To | case rgba8Sint |
Modified MTLPixelFormat.rgba8Snorm
Declaration | |
---|---|
From | case RGBA8Snorm |
To | case rgba8Snorm |
Modified MTLPixelFormat.rgba8Uint
Declaration | |
---|---|
From | case RGBA8Uint |
To | case rgba8Uint |
Modified MTLPixelFormat.rgba8Unorm
Declaration | |
---|---|
From | case RGBA8Unorm |
To | case rgba8Unorm |
Modified MTLPixelFormat.rgba8Unorm_srgb
Declaration | |
---|---|
From | case RGBA8Unorm_sRGB |
To | case rgba8Unorm_srgb |
Modified MTLPixelFormat.stencil8
Declaration | |
---|---|
From | case Stencil8 |
To | case stencil8 |
Modified MTLPrimitiveType [enum]
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 } |
Modified MTLPrimitiveType.line
Declaration | |
---|---|
From | case Line |
To | case line |
Modified MTLPrimitiveType.lineStrip
Declaration | |
---|---|
From | case LineStrip |
To | case lineStrip |
Modified MTLPrimitiveType.point
Declaration | |
---|---|
From | case Point |
To | case point |
Modified MTLPrimitiveType.triangle
Declaration | |
---|---|
From | case Triangle |
To | case triangle |
Modified MTLPrimitiveType.triangleStrip
Declaration | |
---|---|
From | case TriangleStrip |
To | case triangleStrip |
Modified MTLPurgeableState [enum]
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 } |
Modified MTLPurgeableState.empty
Declaration | |
---|---|
From | case Empty |
To | case empty |
Modified MTLPurgeableState.keepCurrent
Declaration | |
---|---|
From | case KeepCurrent |
To | case keepCurrent |
Modified MTLPurgeableState.nonVolatile
Declaration | |
---|---|
From | case NonVolatile |
To | case nonVolatile |
Modified MTLPurgeableState.volatile
Declaration | |
---|---|
From | case Volatile |
To | case volatile |
Modified MTLRenderCommandEncoder
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) |
Modified MTLRenderCommandEncoder.drawPrimitives(type: MTLPrimitiveType, vertexStart: Int, vertexCount: 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) |
Modified MTLRenderCommandEncoder.setFragmentSamplerStates(_: UnsafePointer<MTLSamplerState?>!, with: 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) |
Modified MTLRenderCommandEncoder.setVertexSamplerStates(_: UnsafePointer<MTLSamplerState?>!, with: 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) |
Modified MTLRenderPassAttachmentDescriptor
Declaration | Protocols | |
---|---|---|
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 |
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLRenderPassDescriptor
Declaration | Protocols | |
---|---|---|
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 |
Declaration | Protocols | |
---|---|---|
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 |
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLRenderPipelineDescriptor
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLRenderPipelineReflection
Declaration | Protocols | |
---|---|---|
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 } |
Modified MTLResourceOptions [struct]
Declaration | Protocols | |
---|---|---|
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 } |
Modified MTLResourceOptions.storageModeShared
Declaration | |
---|---|
From | static var StorageModeShared: MTLResourceOptions { get } |
To | static var storageModeShared: MTLResourceOptions { get } |
Modified MTLSamplerAddressMode [enum]
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 } |
Modified MTLSamplerAddressMode.clampToEdge
Declaration | |
---|---|
From | case ClampToEdge |
To | case clampToEdge |
Modified MTLSamplerAddressMode.clampToZero
Declaration | |
---|---|
From | case ClampToZero |
To | case clampToZero |
Modified MTLSamplerAddressMode.mirrorRepeat
Declaration | |
---|---|
From | case MirrorRepeat |
To | case mirrorRepeat |
Modified MTLSamplerAddressMode.repeat
Declaration | |
---|---|
From | case Repeat |
To | case `repeat` |
Modified MTLSamplerDescriptor
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLSamplerMinMagFilter [enum]
Declaration | |
---|---|
From | enum MTLSamplerMinMagFilter : UInt { case Nearest case Linear } |
To | enum MTLSamplerMinMagFilter : UInt { case nearest case linear } |
Modified MTLSamplerMinMagFilter.linear
Declaration | |
---|---|
From | case Linear |
To | case linear |
Modified MTLSamplerMinMagFilter.nearest
Declaration | |
---|---|
From | case Nearest |
To | case nearest |
Modified MTLSamplerMipFilter [enum]
Declaration | |
---|---|
From | enum MTLSamplerMipFilter : UInt { case NotMipmapped case Nearest case Linear } |
To | enum MTLSamplerMipFilter : UInt { case notMipmapped case nearest case linear } |
Modified MTLSamplerMipFilter.linear
Declaration | |
---|---|
From | case Linear |
To | case linear |
Modified MTLSamplerMipFilter.nearest
Declaration | |
---|---|
From | case Nearest |
To | case nearest |
Modified MTLSamplerMipFilter.notMipmapped
Declaration | |
---|---|
From | case NotMipmapped |
To | case notMipmapped |
Modified MTLStencilDescriptor
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLStencilOperation [enum]
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 } |
Modified MTLStencilOperation.decrementClamp
Declaration | |
---|---|
From | case DecrementClamp |
To | case decrementClamp |
Modified MTLStencilOperation.decrementWrap
Declaration | |
---|---|
From | case DecrementWrap |
To | case decrementWrap |
Modified MTLStencilOperation.incrementClamp
Declaration | |
---|---|
From | case IncrementClamp |
To | case incrementClamp |
Modified MTLStencilOperation.incrementWrap
Declaration | |
---|---|
From | case IncrementWrap |
To | case incrementWrap |
Modified MTLStencilOperation.invert
Declaration | |
---|---|
From | case Invert |
To | case invert |
Modified MTLStencilOperation.keep
Declaration | |
---|---|
From | case Keep |
To | case keep |
Modified MTLStencilOperation.replace
Declaration | |
---|---|
From | case Replace |
To | case replace |
Modified MTLStencilOperation.zero
Declaration | |
---|---|
From | case Zero |
To | case zero |
Modified MTLStorageMode [enum]
Declaration | |
---|---|
From | enum MTLStorageMode : UInt { case Shared case Managed case Private } |
To | enum MTLStorageMode : UInt { case shared case managed case `private` case memoryless } |
Modified MTLStorageMode.private
Declaration | |
---|---|
From | case Private |
To | case `private` |
Modified MTLStorageMode.shared
Declaration | |
---|---|
From | case Shared |
To | case shared |
Modified MTLStoreAction [enum]
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 } |
Modified MTLStoreAction.dontCare
Declaration | |
---|---|
From | case DontCare |
To | case dontCare |
Modified MTLStoreAction.multisampleResolve
Declaration | |
---|---|
From | case MultisampleResolve |
To | case multisampleResolve |
Modified MTLStoreAction.store
Declaration | |
---|---|
From | case Store |
To | case store |
Modified MTLStructMember
Declaration | Protocols | |
---|---|---|
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
Declaration | Protocols | |
---|---|---|
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) |
Modified MTLTexture.getBytes(_: UnsafeMutableRawPointer, bytesPerRow: Int, from: MTLRegion, mipmapLevel: 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) |
Modified MTLTexture.isFramebufferOnly
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 |
Modified MTLTexture.parent
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) |
Modified MTLTexture.rootResource
Deprecation | |
---|---|
From | -- |
To | tvOS 10.0 |
Modified MTLTextureDescriptor
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLTextureType [enum]
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 } |
Modified MTLTextureType.type1D
Declaration | |
---|---|
From | case Type1D |
To | case type1D |
Modified MTLTextureType.type1DArray
Declaration | |
---|---|
From | case Type1DArray |
To | case type1DArray |
Modified MTLTextureType.type2D
Declaration | |
---|---|
From | case Type2D |
To | case type2D |
Modified MTLTextureType.type2DArray
Declaration | |
---|---|
From | case Type2DArray |
To | case type2DArray |
Modified MTLTextureType.type2DMultisample
Declaration | |
---|---|
From | case Type2DMultisample |
To | case type2DMultisample |
Modified MTLTextureType.type3D
Declaration | |
---|---|
From | case Type3D |
To | case type3D |
Modified MTLTextureType.typeCube
Declaration | |
---|---|
From | case TypeCube |
To | case typeCube |
Modified MTLTextureUsage [struct]
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLTextureUsage.pixelFormatView
Declaration | |
---|---|
From | static var PixelFormatView: MTLTextureUsage { get } |
To | static var pixelFormatView: MTLTextureUsage { get } |
Modified MTLTextureUsage.renderTarget
Declaration | |
---|---|
From | static var RenderTarget: MTLTextureUsage { get } |
To | static var renderTarget: MTLTextureUsage { get } |
Modified MTLTextureUsage.shaderRead
Declaration | |
---|---|
From | static var ShaderRead: MTLTextureUsage { get } |
To | static var shaderRead: MTLTextureUsage { get } |
Modified MTLTextureUsage.shaderWrite
Declaration | |
---|---|
From | static var ShaderWrite: MTLTextureUsage { get } |
To | static var shaderWrite: MTLTextureUsage { get } |
Modified MTLTextureUsage.unknown
Declaration | |
---|---|
From | static var Unknown: MTLTextureUsage { get } |
To | static var unknown: MTLTextureUsage { get } |
Modified MTLTriangleFillMode [enum]
Declaration | |
---|---|
From | enum MTLTriangleFillMode : UInt { case Fill case Lines } |
To | enum MTLTriangleFillMode : UInt { case fill case lines } |
Modified MTLTriangleFillMode.fill
Declaration | |
---|---|
From | case Fill |
To | case fill |
Modified MTLTriangleFillMode.lines
Declaration | |
---|---|
From | case Lines |
To | case lines |
Modified MTLVertexAttribute
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLVertexAttribute.isActive
Declaration | |
---|---|
From | var active: Bool { get } |
To | var isActive: Bool { get } |
Modified MTLVertexAttributeDescriptor
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLVertexAttributeDescriptorArray
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLVertexBufferLayoutDescriptor
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLVertexBufferLayoutDescriptorArray
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLVertexDescriptor
Declaration | Protocols | |
---|---|---|
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 |
Modified MTLVertexFormat [enum]
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 } |
Modified MTLVertexFormat.char2
Declaration | |
---|---|
From | case Char2 |
To | case char2 |
Modified MTLVertexFormat.char2Normalized
Declaration | |
---|---|
From | case Char2Normalized |
To | case char2Normalized |
Modified MTLVertexFormat.char3
Declaration | |
---|---|
From | case Char3 |
To | case char3 |
Modified MTLVertexFormat.char3Normalized
Declaration | |
---|---|
From | case Char3Normalized |
To | case char3Normalized |
Modified MTLVertexFormat.char4
Declaration | |
---|---|
From | case Char4 |
To | case char4 |
Modified MTLVertexFormat.char4Normalized
Declaration | |
---|---|
From | case Char4Normalized |
To | case char4Normalized |
Modified MTLVertexFormat.float
Declaration | |
---|---|
From | case Float |
To | case float |
Modified MTLVertexFormat.float2
Declaration | |
---|---|
From | case Float2 |
To | case float2 |
Modified MTLVertexFormat.float3
Declaration | |
---|---|
From | case Float3 |
To | case float3 |
Modified MTLVertexFormat.float4
Declaration | |
---|---|
From | case Float4 |
To | case float4 |
Modified MTLVertexFormat.half2
Declaration | |
---|---|
From | case Half2 |
To | case half2 |
Modified MTLVertexFormat.half3
Declaration | |
---|---|
From | case Half3 |
To | case half3 |
Modified MTLVertexFormat.half4
Declaration | |
---|---|
From | case Half4 |
To | case half4 |
Modified MTLVertexFormat.int
Declaration | |
---|---|
From | case Int |
To | case int |
Modified MTLVertexFormat.int1010102Normalized
Declaration | |
---|---|
From | case Int1010102Normalized |
To | case int1010102Normalized |
Modified MTLVertexFormat.int2
Declaration | |
---|---|
From | case Int2 |
To | case int2 |
Modified MTLVertexFormat.int3
Declaration | |
---|---|
From | case Int3 |
To | case int3 |
Modified MTLVertexFormat.int4
Declaration | |
---|---|
From | case Int4 |
To | case int4 |
Modified MTLVertexFormat.invalid
Declaration | |
---|---|
From | case Invalid |
To | case invalid |
Modified MTLVertexFormat.short2
Declaration | |
---|---|
From | case Short2 |
To | case short2 |
Modified MTLVertexFormat.short2Normalized
Declaration | |
---|---|
From | case Short2Normalized |
To | case short2Normalized |
Modified MTLVertexFormat.short3
Declaration | |
---|---|
From | case Short3 |
To | case short3 |
Modified MTLVertexFormat.short3Normalized
Declaration | |
---|---|
From | case Short3Normalized |
To | case short3Normalized |
Modified MTLVertexFormat.short4
Declaration | |
---|---|
From | case Short4 |
To | case short4 |
Modified MTLVertexFormat.short4Normalized
Declaration | |
---|---|
From | case Short4Normalized |
To | case short4Normalized |
Modified MTLVertexFormat.uchar2
Declaration | |
---|---|
From | case UChar2 |
To | case uchar2 |
Modified MTLVertexFormat.uchar2Normalized
Declaration | |
---|---|
From | case UChar2Normalized |
To | case uchar2Normalized |
Modified MTLVertexFormat.uchar3
Declaration | |
---|---|
From | case UChar3 |
To | case uchar3 |
Modified MTLVertexFormat.uchar3Normalized
Declaration | |
---|---|
From | case UChar3Normalized |
To | case uchar3Normalized |
Modified MTLVertexFormat.uchar4
Declaration | |
---|---|
From | case UChar4 |
To | case uchar4 |
Modified MTLVertexFormat.uchar4Normalized
Declaration | |
---|---|
From | case UChar4Normalized |
To | case uchar4Normalized |
Modified MTLVertexFormat.uint
Declaration | |
---|---|
From | case UInt |
To | case uint |
Declaration | |
---|---|
From | case UInt1010102Normalized |
To | case uint1010102Normalized |
Modified MTLVertexFormat.uint2
Declaration | |
---|---|
From | case UInt2 |
To | case uint2 |
Modified MTLVertexFormat.uint3
Declaration | |
---|---|
From | case UInt3 |
To | case uint3 |
Modified MTLVertexFormat.uint4
Declaration | |
---|---|
From | case UInt4 |
To | case uint4 |
Modified MTLVertexFormat.ushort2
Declaration | |
---|---|
From | case UShort2 |
To | case ushort2 |
Modified MTLVertexFormat.ushort2Normalized
Declaration | |
---|---|
From | case UShort2Normalized |
To | case ushort2Normalized |
Modified MTLVertexFormat.ushort3
Declaration | |
---|---|
From | case UShort3 |
To | case ushort3 |
Modified MTLVertexFormat.ushort3Normalized
Declaration | |
---|---|
From | case UShort3Normalized |
To | case ushort3Normalized |
Modified MTLVertexFormat.ushort4
Declaration | |
---|---|
From | case UShort4 |
To | case ushort4 |
Modified MTLVertexFormat.ushort4Normalized
Declaration | |
---|---|
From | case UShort4Normalized |
To | case ushort4Normalized |
Modified MTLVertexStepFunction [enum]
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 } |
Modified MTLVertexStepFunction.constant
Declaration | |
---|---|
From | case Constant |
To | case constant |
Modified MTLVertexStepFunction.perInstance
Declaration | |
---|---|
From | case PerInstance |
To | case perInstance |
Modified MTLVertexStepFunction.perVertex
Declaration | |
---|---|
From | case PerVertex |
To | case perVertex |
Modified MTLVisibilityResultMode [enum]
Declaration | |
---|---|
From | enum MTLVisibilityResultMode : UInt { case Disabled case Boolean case Counting } |
To | enum MTLVisibilityResultMode : UInt { case disabled case boolean case counting } |
Modified MTLVisibilityResultMode.boolean
Declaration | |
---|---|
From | case Boolean |
To | case boolean |
Modified MTLVisibilityResultMode.counting
Declaration | |
---|---|
From | case Counting |
To | case counting |
Modified MTLVisibilityResultMode.disabled
Declaration | |
---|---|
From | case Disabled |
To | case disabled |
Modified MTLWinding [enum]
Declaration | |
---|---|
From | enum MTLWinding : UInt { case Clockwise case CounterClockwise } |
To | enum MTLWinding : UInt { case clockwise case counterClockwise } |
Modified MTLWinding.clockwise
Declaration | |
---|---|
From | case Clockwise |
To | case clockwise |
Modified MTLWinding.counterClockwise
Declaration | |
---|---|
From | case CounterClockwise |
To | case counterClockwise |
Modified MTLCommandBufferHandler
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 |
Modified MTLNewLibraryCompletionHandler
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 |