API TextureBase SetMask

Applies a mask to the texture.
 TextureBase:SetMask(file)
==Arguments==
:;file:
==Example==
Applies a hexagon texture mask (HotS icon) to a texture.
local tex = UIParent:CreateTexture()
tex:SetPoint("CENTER")
tex:SetTexture("Interface/Icons/Ability_Ambush")
tex:SetMask("Interface/ChatFrame/UI-ChatIcon-HotS")
==Patch changes==
===References===