hxn

TextureDescriptor

Constructor

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

Parameter: usage TextureUsage bits, or-ed together.

Static methods

function hxnRead(input:BytesInput):TextureDescriptor

Reads what the library wrote.

Properties

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

TextureUsage bits, or-ed together.

Methods

function hxnWrite(out:BytesBuffer):Void

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