W3cubDocs

/LÖVE

love.graphics.getShader

Available since LÖVE 0.9.0
It has been renamed from love.graphics.getPixelEffect.


Gets the current Shader. Returns nil if none is set.

Function

Synopsis

shader = love.graphics.getShader( )

Arguments

None.

Returns

Shader shader
The currently active Shader, or nil if none is set.

See Also


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.getShader