class vaseOpenGl::ArrayBuffer
sys::Obj vaseOpenGl::ArrayBuffer
@Js
Wrapping a native array buffer.
- allocateDirect
-
static ArrayBuffer allocateDirect(Int size, NumType type := NumType.tByte)
- createView
-
This createView(NumType v, Int offset := 0, Int size := this.size() / this.type().size)
- getFloat
- getInt
- makeFloat
-
static ArrayBuffer makeFloat(List<Float> data)
- makeFloatArray
-
static ArrayBuffer makeFloatArray(FloatArray data)
- makeInt
-
static ArrayBuffer makeInt(List<Int> data)
- makeIntArray
-
static ArrayBuffer makeIntArray(IntArray data)
- makeShort
-
static ArrayBuffer makeShort(List<Int> data)
- putFloat
- putInt
- putShort
- setFloat
- setFloatArray
-
This setFloatArray(FloatArray data)
- setInt
- setIntArray
- size
-
Int size()
- type
-
NumType type()