hxn

VertexLayout

The layout of one vertex buffer: its stride in bytes, and whether it advances per instance.

Constructor

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

Static methods

function hxnRead(input:BytesInput):VertexLayout

Reads what the library wrote.

Properties

var buffer:Int
var stride:Int
var perInstance:Bool

Methods

function hxnWrite(out:BytesBuffer):Void

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