Difference between revisions of "love.graphics.reset"

m (changed word reset to resets in descr)
m
Line 20: Line 20:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Resets the current graphics settings.}}
 
{{#set:Description=Resets the current graphics settings.}}
 +
== Other Languages ==
 +
{{i18n|love.graphics.reset}}

Revision as of 20:18, 18 November 2010

Resets the current graphics settings.

Calling reset makes the current drawing color white, the current background color black, and removes any scissor settings. It sets the BlendMode to alpha and ColorMode to modulate. It also sets both the point and line drawing modes to smooth and their sizes to 1.0 . Finally, it removes any stipple settings.

Function

Synopsis

love.graphics.reset( )

Arguments

None

Returns

Nothing

See Also

Other Languages