Instance Property

sourceAlpha

Premultiplication description for the source texture.

Declaration

@property(readonly, nonatomic) MPSAlphaType sourceAlpha;

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 MPSAlphaTypeAlphaIsOne.

See Also

Properties

destinationAlpha

Premultiplication description for the destination texture.