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

List of all members.

Function List

  release
  reserve
  setIndex

Function Documentation

Release any memory held by this index buffer.


function release ( MOAIIndexBuffer self )
Parameters:
self ( MOAIIndexBuffer )
Returns:
nil

Set capacity of buffer.


function reserve ( MOAIIndexBuffer self, number nIndices )
Parameters:
self ( MOAIIndexBuffer )
nIndices ( number )
Returns:
nil

Initialize an index.


function setIndex ( MOAIIndexBuffer self, number idx, number value )
Parameters:
self ( MOAIIndexBuffer )
idx ( number )
value ( number )
Returns:
nil