new(elements:Int, dataPerVertex:Int, ?dynamicUsage:Bool)
@:value(null)id:GLBuffer = null
usage:Int
count:Int
components:Int
@:value(0)stride:Int = 0
@:value(0)bytesPerElement:Int = 0
@:value(0)type:Int = 0
@:value(false)hasData:Bool = false
If buffer data has been uploaded once
read onlyloaded:Bool
@:value(false)normalized:Bool = false
Used at render time, if enabled, values from the byte/short/int range will be normalized from -1 to 1 (or 0 to 1 in the case of unsigned)
privatecontext:Context3D
data:ArrayBufferView
Holder data for this buffer, disabled by default so it saves memory
privateget_loaded():Bool
uploadFromTypedArray(data:ArrayBufferView):Void
private_uploadTask():Void
dispose():Void