Discards elements when the respective mask value is zero.
Multiplies the input buffer with the mask texture.
Multiplies the input RGB values with the mask and keeps the original alpha.
Multiplies the input RGB values with the mask and sets alpha to the mask value.
A mask function enumeration.