{{newin (日本語)|[[11.0 (日本語)|11.0]]|110|type=関数}}
Gets the comparison mode used when sampling from a [[PixelFormat|depth texture]] in a shader.

Depth texture comparison modes are advanced low-level functionality typically used with shadow mapping in 3D.
== 関数 ==
=== 概要 ===
<source lang="lua">
compare = Texture:getDepthSampleMode( )
</source>
=== 引数 ===
なし。
=== 返値 ===
{{param (日本語)|CompareMode|compare (nil)|The comparison mode used when sampling from this texture in a shader, or nil if setDepthSampleMode has not been called on this Texture.}}
== 関連 ==
* [[parent::Texture (日本語)]]
* [[Texture:setDepthSampleMode (日本語)]]
* [[love.graphics.newCanvas (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Gets the comparison mode used when sampling from a [[PixelFormat|depth texture]] in a shader.}}
== そのほかの言語 ==
{{i18n (日本語)|Texture:getDepthSampleMode}}