{{newin (日本語)|[[0.10.0 (日本語)|0.10.0]]|100|type=列挙型}}
How a [[love.graphics.stencil|stencil function]] modifies the stencil values of pixels it touches.
== 定数 ==
;replace: The stencil value of a pixel will be replaced by the value specified in [[love.graphics.stencil]], if any object touches the pixel.
;increment: The stencil value of a pixel will be incremented by 1 for each object that touches the pixel. If the stencil value reaches 255 it will stay at 255.
;decrement: The stencil value of a pixel will be decremented by 1 for each object that touches the pixel. If the stencil value reaches 0 it will stay at 0.
;incrementwrap: The stencil value of a pixel will be incremented by 1 for each object that touches the pixel. If a stencil value of 255 is incremented it will be set to 0.
;decrementwrap: The stencil value of a pixel will be decremented by 1 for each object that touches the pixel. If the stencil value of 0 is decremented it will be set to 255.
;invert: The stencil value of a pixel will be bitwise-inverted for each object that touches the pixel. If a stencil value of 0 is inverted it will become 255.

== 関連 ==
* [[parent::love.graphics (日本語)]]
* [[love.graphics.stencil (日本語)]]
* [[love.graphics.setStencilTest (日本語)]]
[[Category:Enums (日本語)]]
{{#set:Description=How a [[love.graphics.stencil|stencil function]] modifies the stencil values of pixels it touches.}}
== そのほかの言語 ==
{{i18n (日本語)|StencilAction}}