Widget/API/SetAlphaMode

__NOTOC__
Sets the blending mode of a texture.
MyTexture:SetAlphaMode(mode);
== Parameters ==
=== 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
== Example ==
Texture:SetAlphaMode("ADD");
== Notes ==
== Related Pages ==
* Widget (Overview)
Category:Widget/API Category:Widget/Class/Texture