A policy for discarding tile images that match a known image containing a
"missing" image.
| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Object with the following properties:
|
Methods
-
Determines if the discard policy is ready to process images.
Returns:
True if the discard policy is ready to process images; otherwise, false. -
Given a tile image, decide whether to discard that image.
Name Type Description imageImage An image to test. Returns:
True if the image should be discarded; otherwise, false.Throws:
-
DeveloperError :
shouldDiscardImagemust not be called before the discard policy is ready.
-
