Instance Property

destinationAlpha

Premultiplication description for the destination texture.

Declaration

var destinationAlpha: MPSAlphaType { get }

Discussion

Color space conversion operations produce non-premultiplied data. Use this property to tag cases where premultiplied results are required. If the MPSAlphaType.alphaIsOne value is used, the alpha channel will be set to 1. The default value is MPSAlphaType.alphaIsOne.

See Also

Properties

var sourceAlpha: MPSAlphaType

Premultiplication description for the source texture.