Difference between revisions of "Texture:getDepthSampleMode"
(Created page) |
m (0.11.0 -> 11.0) |
||
Line 1: | Line 1: | ||
− | {{newin|[[ | + | {{newin|[[11.0]]|110|type=function}} |
Gets the comparison mode used when sampling from a [[PixelFormat|depth texture]] in a shader. | Gets the comparison mode used when sampling from a [[PixelFormat|depth texture]] in a shader. | ||
Latest revision as of 18:35, 7 May 2019
Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
Gets the comparison mode used when sampling from a depth texture in a shader.
Depth texture comparison modes are advanced low-level functionality typically used with shadow mapping in 3D.
Function
Synopsis
compare = Texture:getDepthSampleMode( )
Arguments
None.
Returns
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.
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