VertexAttribute
One vertex attribute: location is the shader's (hxnsl's INPUT_<name>), its HLSL semantic LOC<location>.
Constructor
function new(location:Int, slot:Int, format:Format, offset:Int)Static methods
function hxnRead(input:BytesInput):VertexAttributeReads what the library wrote.
Properties
var location:Intvar slot:Intvar format:Formatvar offset:IntMethods
function hxnWrite(out:BytesBuffer):VoidWrites the fields in order, as the library reads them.