hxn

VertexAttribute

One attribute of a vertex buffer.

Constructor

function new(location:Int, format:VertexFormat, offset:Int)

Static methods

function hxnRead(input:BytesInput):VertexAttribute

Reads what the library wrote.

Properties

var location:Int
var format:VertexFormat
var offset:Int

Methods

function hxnWrite(out:BytesBuffer):Void

Writes the fields in order, as the library reads them.