Difference between revisions of "love.graphics.getStackDepth"
(Created page) |
m |
||
Line 17: | Line 17: | ||
* [[love.graphics.pop]] | * [[love.graphics.pop]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | {{#set:Sub-Category=State}} | ||
{{#set:Description=Gets the current depth of the transform / state stack (the number of [[love.graphics.push|pushes]] without corresponding [[love.graphics.pop|pops]]).}} | {{#set:Description=Gets the current depth of the transform / state stack (the number of [[love.graphics.push|pushes]] without corresponding [[love.graphics.pop|pops]]).}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.graphics.getStackDepth}} | {{i18n|love.graphics.getStackDepth}} |
Revision as of 00:43, 7 January 2018
Available since LÖVE 0.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