Difference between revisions of "love.graphics.reset"

m
Line 20: Line 20:
 
{{#set:Description=Resets the current graphics settings.}}
 
{{#set:Description=Resets the current graphics settings.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 +
{{#set:Sub-Category=State}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.reset}}
 
{{i18n|love.graphics.reset}}

Revision as of 01:12, 29 March 2013

Resets the current graphics settings.

Calling reset makes the current drawing color white, the current background color black, resets any active Canvas or PixelEffect, 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.

Function

Synopsis

love.graphics.reset( )

Arguments

None

Returns

Nothing

See Also


Other Languages