Different ways of representing alpha.
SDKs
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- Core Image
Declaration
enum CIRenderDestinationAlphaMode : UInt
Different ways of representing alpha.
SDKs
Framework
enum CIRenderDestinationAlphaMode : UInt
case none
Designates a destination with no alpha compositing.
case premultiplied
Designates a destination that expects premultiplied alpha values.
case unpremultiplied
Designates a destination that expects non-premultiplied alpha values.
var alpha Mode: CIRender Destination Alpha Mode
The render destination's representation of alpha (transparency) values.
var blend Kernel: CIBlend Kernel?
The destination's blend kernel.
var blends In Destination Color Space: Bool
Indicator of whether to blend in the destination's color space.
var color Space: CGColor Space?
The destination's color space.
var width: Int
The render destination's row width.
var height: Int
The render destination's buffer height.
var is Clamped: Bool
Indicator of whether or not the destination clamps.
var is Dithered: Bool
Indicator of whether or not the destination dithers.
var is Flipped: Bool
Indicator of whether the destination is flipped.