Spec-Zone.ru › LÖVE

StackType

Available since LÖVE 0.9.2
This enum is not supported in earlier versions.

Graphics state stack types used with love.graphics.push.

Constants

transform
The transformation stack (love.graphics.translate, love.graphics.rotate, etc.)
all
All love.graphics state, including transform state.

Notes

Aside from the graphics transform state, the all Stack Type constant affects the following:

  • background color
  • blend mode
  • active canvas
  • current color
  • color mask
  • default filter mode
  • active font
  • scissor rectangle
  • active shader
  • wireframe mode
  • stencil test mode
  • line join mode
  • line style
  • line width
  • point size
  • point style

See Also

  • love.graphics
  • love.graphics.push
  • love.graphics.pop

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/StackType

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API