One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSImageConversion

class · iOS 10.0+ · SDK 27.1

class MPSImageConversion

Members (3)

init · iOS 10.0+

init

TypeScript
static init(device: SDKHandle, srcAlpha: MPSAlphaType, destAlpha: MPSAlphaType, backgroundColor?: ("animatableData" | SDKHandle) | null, conversionInfo?: (_CoreGraphics_CGColorConversionInfo) | null): MPSImageConversion
Swift declaration
init(device: any MTLDevice, srcAlpha: MPSAlphaType, destAlpha: MPSAlphaType, backgroundColor: UnsafeMutablePointer<CGFloat>?, conversionInfo: CGColorConversionInfo?)
get · iOS 10.0+

destinationAlpha

TypeScript
get destinationAlpha(): MPSAlphaType
Swift declaration
var destinationAlpha: MPSAlphaType { get }
get · iOS 10.0+

sourceAlpha

TypeScript
get sourceAlpha(): MPSAlphaType
Swift declaration
var 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 →