Difference between revisions of "love.graphics.getStackDepth"
m |
m (0.11.0 -> 11.0) |
||
Line 1: | Line 1: | ||
− | {{newin|[[ | + | {{newin|[[11.0]]|110|type=function}} |
Gets the current depth of the transform / state stack (the number of [[love.graphics.push|pushes]] without corresponding [[love.graphics.pop|pops]]). | Gets the current depth of the transform / state stack (the number of [[love.graphics.push|pushes]] without corresponding [[love.graphics.pop|pops]]). | ||
Revision as of 12:47, 29 December 2018
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
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