hxn

Constant

A pipeline-overridable constant: a WGSL override by its name, as hxnsl's CONST_ keys give it.

Constructor

function new(key:String, value:Float)

Static methods

function hxnRead(input:BytesInput):Constant

Reads what the library wrote.

Properties

var key:String
var value:Float

Methods

function hxnWrite(out:BytesBuffer):Void

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