Spec-Zone.ru › LÖVE

love.graphics.getStackDepth

Available since LÖVE 11.0
This function is not supported in earlier versions.

Gets the current depth of the transform / state stack (the number of pushes without corresponding pops).

Function

Synopsis

depth = love.graphics.getStackDepth( )

Arguments

None.

Returns

number depth
The current depth of the transform and state love.graphics stack.

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/love.graphics.getStackDepth

Spec-Zone.ru

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