# TileDiscardPolicy

#### new Cesium.TileDiscardPolicy()
engine/Source/Scene/TileDiscardPolicy.js 13

A policy for discarding tile images according to some criteria. This type describes an interface and is not intended to be instantiated directly.

##### See:

- DiscardMissingTileImagePolicy
- NeverTileDiscardPolicy

### Methods

#### isReady() → boolean
engine/Source/Scene/TileDiscardPolicy.js 23

Determines if the discard policy is ready to process images.

##### Returns:

True if the discard policy is ready to process images; otherwise, false.

#### shouldDiscardImage(image) → boolean
engine/Source/Scene/TileDiscardPolicy.js 32

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

Name | Type | Description
--- | --- | ---
`image` | HTMLImageElement | An image to test.

##### Returns:

True if the image should be discarded; otherwise, false.

Need help? The fastest way to get answers is from the community and team on the Cesium Forum.