hxn

VertexAttribute

One vertex attribute: location is the shader's (hxnsl's INPUT_<name>).

Constructor

function new(location:Int, binding:Int, format:Format, offset:Int)

Static methods

function hxnRead(input:BytesInput):VertexAttribute

Reads what the library wrote.

Properties

var location:Int
var binding:Int
var format:Format
var offset:Int

Methods

function hxnWrite(out:BytesBuffer):Void

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