Instance Property

sourceAlpha

Premultiplication description for the source texture.

Declaration

var sourceAlpha: MPSAlphaType { get }

Discussion

Most color space conversion operations can not work directly on premultiplied data. Use this property to tag premultiplied data so that the source texture can be un-premultiplied prior to the application of these transforms. The default value is MPSAlphaType.alphaIsOne.

See Also

Properties

var destinationAlpha: MPSAlphaType

Premultiplication description for the destination texture.