Skip to main content

flywave-mapview.tile.addownedtexture

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

Tile.addOwnedTexture() method

Add ownership of a texture to this tile.

Signature:

addOwnedTexture(texture: THREE.Texture): void;

Parameters

Parameter

Type

Description

texture

THREE.Texture

Texture to be owned by the Tile

Returns:



void

## Remarks

The texture will be disposed if the `Tile` is disposed.