main.cesium.NeverTileDiscardPolicy.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:JsModule("cesium")
package cesium
/**
* A [TileDiscardPolicy] specifying that tile images should never be discard.
* @see Online Documentation
*/
external class NeverTileDiscardPolicy : TileDiscardPolicy {
/**
* Determines if the discard policy is ready to process images.
* @return True if the discard policy is ready to process images; otherwise, false.
* @see Online Documentation
*/
override fun isReady(): Boolean
/**
* Given a tile image, decide whether to discard that image.
* @param [image] An image to test.
* @return True if the image should be discarded; otherwise, false.
* @see Online Documentation
*/
override fun shouldDiscardImage(image: org.w3c.dom.HTMLImageElement): Boolean
}