WoW:API Texture SetDesaturated: Difference between revisions

m
Move page script moved page API Texture SetDesaturated to WoW:API Texture SetDesaturated without leaving a redirect
({{widgetmethod}})
m (Move page script moved page API Texture SetDesaturated to WoW:API Texture SetDesaturated without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 16: Line 16:


; shaderSupported
; shaderSupported
So far haven't gotten a return other than 1.  Likely nil or false if desaturation isn't supported due to the user's graphic capabilities. (see below)
returns nil if desaturation isn't supported by the user's graphics card (ie. old GeForce4 cards don't). One can use texture:SetVertexColor instead in this case. See the example below for the way Blizzard handles this.


----
----
Anonymous user