hxn

VertexBinding

One vertex buffer binding: its stride in bytes, and whether it advances per instance.

Constructor

function new(binding:Int, stride:Int, perInstance:Bool)

Static methods

function hxnRead(input:BytesInput):VertexBinding

Reads what the library wrote.

Properties

var binding:Int
var stride:Int
var perInstance:Bool

Methods

function hxnWrite(out:BytesBuffer):Void

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