main.cesium.NeverTileDiscardPolicy.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
package cesium
/**
* A [TileDiscardPolicy] specifying that tile images should never be discard.
* @see Online Documentation
*/
@JsName("\$cesium__NeverTileDiscardPolicy")
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
}