All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.StencilOperation.kt Maven / Gradle / Ivy

There is a newer version: 1.90.0-10
Show newest version
// Automatically generated - do not modify!

package cesium

/**
 * Determines the action taken based on the result of the stencil test.
 * @see Online Documentation
 */

@JsName("\$cesium__StencilOperation")
external object /* enum */ StencilOperation {

    /**
     * Sets the stencil buffer value to zero.
     */
    val ZERO: StencilOperation

    /**
     * Does not change the stencil buffer.
     */
    val KEEP: StencilOperation

    /**
     * Replaces the stencil buffer value with the reference value.
     */
    val REPLACE: StencilOperation

    /**
     * Increments the stencil buffer value, clamping to unsigned byte.
     */
    val INCREMENT: StencilOperation

    /**
     * Decrements the stencil buffer value, clamping to zero.
     */
    val DECREMENT: StencilOperation

    /**
     * Bitwise inverts the existing stencil buffer value.
     */
    val INVERT: StencilOperation

    /**
     * Increments the stencil buffer value, wrapping to zero when exceeding the unsigned byte range.
     */
    val INCREMENT_WRAP: StencilOperation

    /**
     * Decrements the stencil buffer value, wrapping to the maximum unsigned byte instead of going below zero.
     */
    val DECREMENT_WRAP: StencilOperation
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy