Moai SDK  1.5 revision 1 (MoaiEdition)
MOAIMultiTexture Class Reference
Inheritance diagram for MOAIMultiTexture:
MOAIGfxState MOAIGfxState

List of all members.

Function List

  reserve
  setTexture

Function Documentation

Reserve or clears indices for textures.


function reserve ( MOAITextureBase self [, number total ] )
Parameters:
self ( MOAITextureBase )
total ( number ) Optional. Default value is 0.
Returns:
nil

Sets of clears a texture for the given index.


function setTexture ( MOAITextureBase self, number index [, MOAITextureBase texture ] )
Parameters:
self ( MOAITextureBase )
index ( number )
texture ( MOAITextureBase ) Optional. Default value is nil.
Returns:
nil