Skip to content

KBE3D / KBCore / Cesium / TileDiscardPolicy

类: TileDiscardPolicy

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

方法

isReady()

isReady(): boolean

Determines if the discard policy is ready to process images.

返回

boolean

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


shouldDiscardImage()

shouldDiscardImage(image: HTMLImageElement): boolean

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

参数

image

HTMLImageElement

An image to test.

返回

boolean

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

构造函数

构造函数

new TileDiscardPolicy(): TileDiscardPolicy

返回

TileDiscardPolicy

KBE3D @3.0.0 Copyright © 2024-present KBE3D