MetalPerformanceShaders · IOS API REFERENCE
MPSImageConversion
class · iOS 10.0+ · SDK 27.1
class MPSImageConversion
Members (3)
init · iOS 10.0+init
TypeScriptstatic init(device: SDKHandle, srcAlpha: MPSAlphaType, destAlpha: MPSAlphaType, backgroundColor?: ("animatableData" | SDKHandle) | null, conversionInfo?: (_CoreGraphics_CGColorConversionInfo) | null): MPSImageConversion
Swift declarationinit(device: any MTLDevice, srcAlpha: MPSAlphaType, destAlpha: MPSAlphaType, backgroundColor: UnsafeMutablePointer<CGFloat>?, conversionInfo: CGColorConversionInfo?)
get · iOS 10.0+destinationAlpha
TypeScriptget destinationAlpha(): MPSAlphaType
Swift declarationvar destinationAlpha: MPSAlphaType { get }
get · iOS 10.0+sourceAlpha
TypeScriptget sourceAlpha(): MPSAlphaType
Swift declarationvar sourceAlpha: MPSAlphaType { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSImageConversion.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All MetalPerformanceShaders types →