CompareMode

CompareMode

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

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/CompareMode

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部