Difference between revisions of "Mesh:clearTexture"

From GiderosMobile
Line 8: Line 8:
 
  Mesh:clearTexture(slot)
 
  Mesh:clearTexture(slot)
 
</source>
 
</source>
 +
=== Parameters ===
 
'''slot''': (number) The slot number of the texture to clear. If no argument is provided, slot=0 is assumed '''optional'''<br/>
 
'''slot''': (number) The slot number of the texture to clear. If no argument is provided, slot=0 is assumed '''optional'''<br/>

Revision as of 10:46, 23 August 2018

Available since: 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

 Mesh:clearTexture(slot)

Parameters

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