NeverTileDiscardPolicy - Cesium Documentation

# NeverTileDiscardPolicy

#### new NeverTileDiscardPolicy()

  A `TileDiscardPolicy` specifying that tile images should never be discard.

  ##### See:

  - DiscardMissingTileImagePolicy
  Source: Scene/NeverTileDiscardPolicy.js, line 13

### Methods

#### isReady()

  Determines if the discard policy is ready to process images.

  ##### Returns:

  True if the discard policy is ready to process images; otherwise, false.
  Source: Scene/NeverTileDiscardPolicy.js, line 20

#### shouldDiscardImage(image) → Promise.<Boolean>

  Given a tile image, decide whether to discard that image.

  Name | Type | Description
  --- | --- | ---
  `image` | Image | Promise.<Image> | An image, or a promise that will resolve to an image.

  ##### Returns:

  A promise that will resolve to true if the tile should be discarded.
  Source: Scene/NeverTileDiscardPolicy.js, line 30