Class: Texture

Texture

A base class for textures.


new Texture()

Author:
  • derschmale <http://www.derschmale.com>

Members


dataType

The texture's data type

See:

filter

A TextureFilter object defining how the texture should be filtered during sampling.


format

The texture's format

See:

maxAnisotropy

The maximum anisotropy used when sampling. Limited to capabilities#DEFAULT_TEXTURE_MAX_ANISOTROPY

Methods


generateMipmap()

Generates a mip map chain.


isReady()

Defines whether data has been uploaded to the texture or not.