VertexAttribute
One vertex attribute: location is the shader's (hxnsl's INPUT_<name>), buffer the argument index its vertex buffer is bound at.
Constructor
function new(location:Int, format:VertexFormat, offset:Int, buffer:Int)Static methods
function hxnRead(input:BytesInput):VertexAttributeReads what the library wrote.
Properties
var location:Intvar format:VertexFormatvar offset:Intvar buffer:IntMethods
function hxnWrite(out:BytesBuffer):VoidWrites the fields in order, as the library reads them.