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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software