{{newin (日本語)|[[11.0 (日本語)|11.0]]|110|type=関数}}
Gets the current depth of the transform / state stack (the number of [[love.graphics.push|pushes]] without corresponding [[love.graphics.pop|pops]]).

== 関数 ==
=== 概要 ===
<source lang="lua">
depth = love.graphics.getStackDepth( )
</source>
=== 引数 ===
なし。
=== 返値 ===
{{param (日本語)|number|depth|The current depth of the transform and state love.graphics stack.}}

== 関連 ==
* [[parent::love.graphics (日本語)]]
* [[love.graphics.push (日本語)]]
* [[love.graphics.pop (日本語)]]
[[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]]).}}
== そのほかの言語 ==
{{i18n (日本語)|love.graphics.getStackDepth}}