Difference between revisions of "CompareMode"
(Created page) |
m |
||
Line 1: | Line 1: | ||
{{newin|[[0.10.0]]|100|type=enum}} | {{newin|[[0.10.0]]|100|type=enum}} | ||
− | Different types of per-pixel [[love.graphics.setStencilTest|stencil test]] comparisons. The pixels of an object will be drawn if the comparison succeeds. | + | Different types of per-pixel [[love.graphics.setStencilTest|stencil test]] comparisons. The pixels of an object will be drawn if the comparison succeeds, for each pixel that the object touches. |
== Constants == | == Constants == | ||
;equal: The stencil value of the pixel must be equal to the [[love.graphics.setStencilTest|supplied value]]. | ;equal: The stencil value of the pixel must be equal to the [[love.graphics.setStencilTest|supplied value]]. |
Revision as of 04:09, 15 December 2015
Available since LÖVE 0.10.0 |
This enum is not supported in earlier versions. |
Different types of per-pixel stencil test comparisons. The pixels of an object will be drawn if the comparison succeeds, for each pixel that the object touches.
Constants
- equal
- The stencil value of the pixel must be equal to the supplied value.
- notequal
- The stencil value of the pixel must not be equal to the supplied value.
- less
- The stencil value of the pixel must be less than the supplied value.
- lequal
- The stencil value of the pixel must be less than or equal to the supplied value.
- gequal
- The stencil value of the pixel must be greater than or equal to the supplied value.
- greater
- The stencil value of the pixel must be greater than the supplied value.
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