hxn

TextureDescriptor

Constructor

function new(width:Int, height:Int, format:PixelFormat, usage:Int, storage:StorageMode)

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:PixelFormat
var usage:Int

TextureUsage bits, or-ed together.

var storage:StorageMode

Methods

function hxnWrite(out:BytesBuffer):Void

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