{{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[love.graphics.getPixelEffect]]}}

Gets the current [[Shader]]. Returns nil if none is set.
== Function ==
=== Synopsis ===
<source lang="lua">
shader = love.graphics.getShader( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|Shader|shader|The currently active Shader, or [[nil]] if none is set.}}
== See Also ==
* [[parent::love.graphics]]
* [[love.graphics.setShader]]
[[Category:Functions]]
{{#set:Description=Gets the current [[Shader]].}}
{{#set:Sub-Category=State}}
== Other Languages ==
{{i18n|love.graphics.getShader}}