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

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

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

package cesium

/**
 * A set of functions to detect whether the current browser supports
 * various features.
 * @see Online Documentation
 */
@JsName("\$cesium__FeatureDetection")
external object FeatureDetection {
    /**
     * Detects whether the current browser supports Basis Universal textures and the web assembly modules needed to transcode them.
     * @return true if the browser supports web assembly modules and the scene supports Basis Universal textures, false if not.
     * @see Online Documentation
     */
    fun supportsBasis(scene: Scene): Boolean

    /**
     * Detects whether the current browser supports the full screen standard.
     * @return true if the browser supports the full screen standard, false if not.
     * @see Online Documentation
     */
    fun supportsFullscreen(): Boolean

    /**
     * Detects whether the current browser supports typed arrays.
     * @return true if the browser supports typed arrays, false if not.
     * @see Online Documentation
     */
    fun supportsTypedArrays(): Boolean

    /**
     * Detects whether the current browser supports BigInt64Array typed arrays.
     * @return true if the browser supports BigInt64Array typed arrays, false if not.
     * @see Online Documentation
     */
    fun supportsBigInt64Array(): Boolean

    /**
     * Detects whether the current browser supports BigUint64Array typed arrays.
     * @return true if the browser supports BigUint64Array typed arrays, false if not.
     * @see Online Documentation
     */
    fun supportsBigUint64Array(): Boolean

    /**
     * Detects whether the current browser supports BigInt.
     * @return true if the browser supports BigInt, false if not.
     * @see Online Documentation
     */
    fun supportsBigInt(): Boolean

    /**
     * Detects whether the current browser supports Web Workers.
     * @return true if the browsers supports Web Workers, false if not.
     * @see Online Documentation
     */
    fun supportsWebWorkers(): Boolean

    /**
     * Detects whether the current browser supports Web Assembly.
     * @return true if the browsers supports Web Assembly, false if not.
     * @see Online Documentation
     */
    fun supportsWebAssembly(): Boolean
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy