Difference between revisions of "Mesh:clearTexture"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === <br /> Clears the texture. By default the texture at slot 0 is cleared. To clear a particular texture...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= 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:12, 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