Table of Contents

Mesh:clearTexture

Available since version: Gideros 2012.09

Description:

Clears the texture. By default the texture at slot 0 is cleared. To clear a particular texture, pass its slot number to this method

Syntax:

Mesh:clearTexture([slot])

Parameters:

  • slot: (number) The slot number of the texture to clear. If no argument is provided, slot=0 is assumed