hxn

ImageDescriptor

Constructor

function new(width:Int, height:Int, format:Format, usage:Int)

Parameter: usage ImageUsage bits, or-ed together.

Static methods

function hxnRead(input:BytesInput):ImageDescriptor

Reads what the library wrote.

Properties

var width:Int
var height:Int
var format:Format
var usage:Int

ImageUsage bits, or-ed together.

Methods

function hxnWrite(out:BytesBuffer):Void

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