Phaser API Documentation

  Version: 
deleteTexture(texture, [reset])

Description:

Calls GL.deleteTexture on the given WebGLTexture and also optionally resets the currently defined textures.

Parameters:

name type arguments Default description
texture WebGLTexture

The WebGL Texture to be deleted.

reset boolean <optional> false

Call the resetTextures method after deleting this texture?

Returns:
Description:

This WebGLRenderer instance.

Since: 3.0.0