API TextureBase SetDesaturated

Sets the texture to be desaturated.
 TextureBase:SetDesaturated([desaturated])
==Arguments==
:;desaturated: - True to make the image grayscale, false for the original colors.
==Example==
Turns the icon grayscale.
local tex = UIParent:CreateTexture()
tex:SetPoint("CENTER")
tex:SetTexture("interface/icons/inv_mushroom_11")
tex:SetDesaturated(true)
API_TextureBase_SetDesaturation_02.png|link=
==Patch changes==