VertexArray
A vertex array: attribute layouts and the buffers they read, and an element buffer.
Static methods
function hxnAdopt(hxnRaw:Handle):VertexArrayAn object for a value the library returned.
Properties
var hxnRaw:HandleMethods
function attribute(location:Int, buffer:Buffer, size:Int, kind:ComponentType, normalized:Bool, stride:Int, offset:Int):VoidAttribute location reads size components of kind from buffer, stride bytes apart from offset, as floats; integer components become floats, scaled to 0-1 or -1-1 when normalized.
function integerAttribute(location:Int, buffer:Buffer, size:Int, kind:ComponentType, stride:Int, offset:Int):VoidAttribute location reads size integer components of kind, for an int or uint input.
function divisor(location:Int, divisor:Int):VoidAttribute location advances once per divisor instances; 0 advances per vertex.
function elementBuffer(buffer:Buffer):VoidThe buffer drawElements reads indices from.
function close():VoidReleases the native value now. The collector does it otherwise. Using this object afterwards throws.