flywave-mapview.tile.shoulddisposetexture
Home > @flywave/flywave-mapview > Tile > shouldDisposeTexture
Tile.shouldDisposeTexture() method
Called when the default implementation of dispose() needs to free a Texture that is part of a Tile object's material.
Signature:
shouldDisposeTexture(texture: THREE.Texture): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
texture | THREE.Texture | The texture about to be disposed. |
Returns:
boolean
`true` if the texture can be disposed.