StencilOperation

    RenderingDevice.swift:1235
    enum StencilOperation

    Cases

    • case keep

      Keep the current stencil value.

    • case zero

      Set the stencil value to 0.

    • case replace

      Replace the existing stencil value with the new one.

    • case incrementAndClamp

      Increment the existing stencil value and clamp to the maximum representable unsigned value if reached. Stencil bits are considered as an unsigned integer.

    • case decrementAndClamp

      Decrement the existing stencil value and clamp to the minimum value if reached. Stencil bits are considered as an unsigned integer.

    • case invert

      Bitwise-invert the existing stencil value.

    • case incrementAndWrap

      Increment the stencil value and wrap around to 0 if reaching the maximum representable unsigned. Stencil bits are considered as an unsigned integer.

    • case decrementAndWrap

      Decrement the stencil value and wrap around to the maximum representable unsigned if reaching the minimum. Stencil bits are considered as an unsigned integer.

    • case max

      Represents the size of the StencilOperation enum.

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (130) members.

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features