跳到主要内容

flywave-mapview.tile.clear

Home > @flywave/flywave-mapview > Tile > clear

Tile.clear() method

Frees the rendering resources allocated by this Tile.

Signature:

clear(): void;

Returns:



void

## Remarks

The default implementation of this method frees the geometries and the materials for all the reachable objects. Textures are freed if they are owned by this `Tile` (i.e. if they where created by this `Tile`<!-- -->or if the ownership was explicitely set to this `Tile` by \[\[addOwnedTexture\]\]).