Add existing to tracked

This commit is contained in:
Jay
2026-08-11 09:53:42 -04:00
parent afe07f3055
commit ffd6e3d73c
8531 changed files with 4396230 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
import DeveloperError from "../Core/DeveloperError.js";
/**
* A policy for discarding tile images according to some criteria. This type describes an
* interface and is not intended to be instantiated directly.
*
* @alias TileDiscardPolicy
* @constructor
*
* @see DiscardMissingTileImagePolicy
* @see NeverTileDiscardPolicy
*/
function TileDiscardPolicy(options) {
DeveloperError.throwInstantiationError();
}
/**
* Determines if the discard policy is ready to process images.
* @function
*
* @returns {boolean} True if the discard policy is ready to process images; otherwise, false.
*/
TileDiscardPolicy.prototype.isReady = DeveloperError.throwInstantiationError;
/**
* Given a tile image, decide whether to discard that image.
* @function
*
* @param {HTMLImageElement} image An image to test.
* @returns {boolean} True if the image should be discarded; otherwise, false.
*/
TileDiscardPolicy.prototype.shouldDiscardImage =
DeveloperError.throwInstantiationError;
export default TileDiscardPolicy;