Class: TextureSource

TextureSource

Extends

Implements

Members

_resolution number

Default Value:
  • 1

destroyed boolean readonly

Has the source been destroyed?

scaleMode Deprecated : since 8.0.0

scaleMode SCALE_MODE Deprecated : since 8.0.0

wrapMode Deprecated : since 8.0.0

wrapMode WRAP_MODE Deprecated : since 8.0.0

_batchTick number protected

Used by the batcher to build texture batches. faster to have the variable here!

Default Value:
  • -1

_textureBindLocation number protected

A temporary batch location for the texture batching. Here for performance reasons only!

Default Value:
  • -1

_touched number protected

Used by automatic texture Garbage Collection, stores last GC tick when it was bound

Default Value:
  • 0

options protectedreadonly

Methods

Destroys this texture source