Documentation generator: JsDoc Toolkit 2.4.0
Template: Codeview 1.2
Generated on: 2016-0-4 21:22

Class enchant.gl.Buffer

Class Summary
Constructor Attributes Constructor Name and Description
 
enchant.gl.Buffer(params, array)
Controls peak and other array information.

Method Summary

Method Attributes Method Name and Description
 
bind()
Bind buffer.
 
Destroy object.
 
Unbind buffer.

Class Detail

enchant.gl.Buffer(params, array)
Controls peak and other array information. Used as enchant.gl.Mesh property.
var index = [ 0, 1, 2, 2, 3, 0 ];
var indices = new Buffer(Buffer.INDICES, index);
Parameters:
{*} params
parameter
{Number[]} array

Method Detail

  • bind()
    Bind buffer.
  • destroy()
    Destroy object.
  • unbind()
    Unbind buffer.