hxn

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):RootParameter

Reads what the library wrote.

Properties

var kind:ParameterKind
var register:Int
var space:Int
var visibility:Visibility
var ranges:Array<RootRange>

Methods

function hxnWrite(out:BytesBuffer):Void

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