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


Other Languages