Search Results for

    Show / Hide Table of Contents

    Enum StencilOperation

    The stencil operations that can be performed during depth and stencil testing.

    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public enum StencilOperation : byte

    Fields

    Name Description
    Decrement

    Decrements the stencil value by 1, and wraps the result if necessary.

    DecrementSaturation

    Decrements the stencil value by 1 and clamps the result.

    Increment

    Increments the stencil value by 1 and wraps the result if necessary.

    IncrementSaturation

    Increments the stencil value by 1 and clamps the result.

    Invert

    Inverts the stencil data.

    Keep

    Keeps the existing stencil data.

    Replace

    Sets the stencil data to the reference value.

    Zero

    Sets the stencil data to 0.

    Extension Methods

    MTLExtensionsMethods.ToMetal(StencilOperation)
    VKExtensionsMethods.ToVulkan(StencilOperation)
    WGPUExtensionsMethods.ToWGPU(StencilOperation)
    EnumExtensions.HasFlag(Enum, Enum)
    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX