Provided by: libsdl3-doc_3.2.8+ds-1_all bug

NAME

       SDL_GPUStencilOp - Specifies what happens to a stored stencil value if stencil tests fail or pass.

HEADER FILE

       Defined in SDL3/SDL_gpu.h

SYNOPSIS

       #include "SDL3/SDL.h"

       typedef enum SDL_GPUStencilOp
       {
           SDL_GPU_STENCILOP_INVALID,
           SDL_GPU_STENCILOP_KEEP,                 /**< Keeps the current value. */
           SDL_GPU_STENCILOP_ZERO,                 /**< Sets the value to 0. */
           SDL_GPU_STENCILOP_REPLACE,              /**< Sets the value to reference. */
           SDL_GPU_STENCILOP_INCREMENT_AND_CLAMP,  /**< Increments the current value and clamps to the maximum value. */
           SDL_GPU_STENCILOP_DECREMENT_AND_CLAMP,  /**< Decrements the current value and clamps to 0. */
           SDL_GPU_STENCILOP_INVERT,               /**< Bitwise-inverts the current value. */
           SDL_GPU_STENCILOP_INCREMENT_AND_WRAP,   /**< Increments the current value and wraps back to 0. */
           SDL_GPU_STENCILOP_DECREMENT_AND_WRAP    /**< Decrements the current value and wraps to the maximum value. */
       } SDL_GPUStencilOp;

AVAILABILITY

       This enum is available since SDL 3.2.0.

SEE ALSO

       (3), SDL_CreateGPUGraphicsPipeline(3)

Simple Directmedia Layer                            SDL 3.2.8                            SDL_GPUStencilOp(3type)