love.graphics.reset
Resets the current graphics settings.
Calling reset makes the current drawing color white, the current background color black, disables any active Canvas or Shader, and removes any scissor settings. It sets the BlendMode to alpha, enables all color component masks, disables wireframe mode and resets the current graphics transformation to the origin. 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
Notes
This function, like any other function that change graphics state, only affects the current stack. Calling love.graphics.pop will restore the previous transformation stack or the whole graphics settings, depending on how love.graphics.push was called.
See Also
- love.graphics
- love.graphics.setBackgroundColor
- love.graphics.setColor
- love.graphics.setLineStyle
- love.graphics.setPointStyle
- love.graphics.origin
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info