Widget/API/SetAlphaMode

Sets the blending mode of a texture.

Arguments

 * mode
 * string - Blending mode to set.
 * Known blend modes:
 * DISABLE
 * Turns off the texture itself. Used for displaying untextured color rectangles.
 * BLEND
 * Normal blending.
 * ALPHAKEY
 * Used for texture masking based on alpha values.
 * ADD
 * Screen and texture pixels are added (values capped at white).

Returns

 * None

Related Pages

 * Widget (Overview)