Class: Texture

Texture

Extends

Implements

  • BindableTexture

Members

_layout TextureLayout

_source TextureSource

baseTexture TextureSource Deprecated : since 8.0.0

destroyed boolean readonly

Has the texture been destroyed?

height number

The height of the Texture in pixels.

width number

The width of the Texture in pixels.

Methods

destroy (destroySource)

Destroys this texture

Name Type Default Description
destroySource boolean false

Destroy the source when the texture is destroyed.

onUpdate () protected