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