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

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

The newest version!
// Automatically generated - do not modify!

@file:JsModule("cesium")

package cesium

/**
 * Constants for WebGL index datatypes.  These corresponds to the
 * `type` parameter of [drawElements](http://www.khronos.org/opengles/sdk/docs/man/xhtml/glDrawElements.xml).
 * @see Online Documentation
 */

external enum class IndexDatatype {

    /**
     * 8-bit unsigned byte corresponding to `UNSIGNED_BYTE` and the type
     * of an element in `Uint8Array`.
     */
    UNSIGNED_BYTE,

    /**
     * 16-bit unsigned short corresponding to `UNSIGNED_SHORT` and the type
     * of an element in `Uint16Array`.
     */
    UNSIGNED_SHORT,

    /**
     * 32-bit unsigned int corresponding to `UNSIGNED_INT` and the type
     * of an element in `Uint32Array`.
     */
    UNSIGNED_INT,

    ;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy