API TextureBase SetDesaturation

Sets the desaturation level of the texture.
 TextureBase:SetDesaturation(desaturation)
==Arguments==
:;desaturation: - The desaturation level.
==Example==
local tex = UIParent:CreateTexture()
tex:SetPoint("CENTER")
tex:SetTexture("interface/icons/inv_mushroom_11")
tex:SetDesaturation(1)
API_TextureBase_SetDesaturation_01.png|link=|0.5 desaturation
API_TextureBase_SetDesaturation_02.png|link=|1.0 desaturation