Difference between revisions of "Mesh:clearTexture"

From GiderosMobile
Line 8: Line 8:
 
  Mesh:clearTexture(slot)
 
  Mesh:clearTexture(slot)
 
</source>
 
</source>
'''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 11:21, 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)

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