MPSAlphaType Enum

Definition

Enumerates values that indicate if and what kind of color premultiplication will be applied to color values.

[ObjCRuntime.TV(10, 0)]
public enum MPSAlphaType
type MPSAlphaType = 
Inheritance
MPSAlphaType
Attributes

Fields

AlphaIsOne 1

Indicates that the alpha channel will be clamped to 1, even if it is not encoded in the source data.

NonPremultiplied 0

Indicates that the image will not be premultiplied, and the alpha channel will not be guaranteed to be 1.

Premultiplied 2

Indicates that the image will be premultiplied, and the alpha channel will not be guaranteed to be 1.

Applies to