{{newin (日本語)|[[0.10.0 (日本語)|0.10.0]]|100|type=列挙型}}
Different types of per-pixel [[love.graphics.setStencilTest|stencil test]] and [[love.graphics.setDepthMode|depth test]] comparisons. The pixels of an object will be drawn if the comparison succeeds, for each pixel that the object touches.
== 定数 ==
;equal:
* stencil tests: the stencil value of the pixel must be equal to the [[love.graphics.setStencilTest|supplied value]].
* depth tests: the depth value of the drawn object at that pixel must be equal to the existing depth value of that pixel.
;notequal:
* stencil tests: the stencil value of the pixel must '''not''' be equal to the [[love.graphics.setStencilTest|supplied value]].
* depth tests: the depth value of the drawn object at that pixel must '''not''' be equal to the existing depth value of that pixel.
;less:
* stencil tests: the stencil value of the pixel must be less than the [[love.graphics.setStencilTest|supplied value]].
* depth tests: the depth value of the drawn object at that pixel must be less than the existing depth value of that pixel.
;lequal:
* stencil tests: the stencil value of the pixel must be less than or equal to the [[love.graphics.setStencilTest|supplied value]].
* depth tests: the depth value of the drawn object at that pixel must be less than or equal to the existing depth value of that pixel.
;gequal:
* stencil tests: the stencil value of the pixel must be greater than or equal to the [[love.graphics.setStencilTest|supplied value]].
* depth tests: the depth value of the drawn object at that pixel must be greater than or equal to the existing depth value of that pixel.
;greater:
* stencil tests: the stencil value of the pixel must be greater than the [[love.graphics.setStencilTest|supplied value]].
* depth tests: the depth value of the drawn object at that pixel must be greater than the existing depth value of that pixel.
;never: Objects will never be drawn.
;always: Objects will always be drawn. Effectively disables the depth or stencil test.
== 関連 ==
* [[parent::love.graphics (日本語)]]
* [[love.graphics.setStencilTest (日本語)]]
* [[love.graphics.stencil (日本語)]]
* [[love.graphics.setDepthMode (日本語)]]
[[Category:Enums (日本語)]]
{{#set:Description=Different types of [[love.graphics.setStencilTest|stencil test]] and [[love.graphics.setDepthMode|depth test]] comparisons.}}
== そのほかの言語 ==
{{i18n (日本語)|CompareMode}}