RootParameter
One root parameter: a root descriptor at register and space (hxnsl's HLSL_SLOTS), or a descriptor table of ranges.
Constructor
function new(kind:ParameterKind, register:Int, space:Int, visibility:Visibility, ranges:Array<RootRange>)Static methods
function hxnRead(input:BytesInput):RootParameterReads what the library wrote.
Properties
var kind:ParameterKindvar register:Intvar space:Intvar visibility:Visibilityvar ranges:Array<RootRange>Methods
function hxnWrite(out:BytesBuffer):VoidWrites the fields in order, as the library reads them.