Buffer
GPU memory the CPU can read and write.
Static methods
function hxnAdopt(hxnRaw:Handle):BufferAn object for a value the library returned.
Properties
var hxnRaw:HandleMethods
function length():Int64function write(offset:Int64, bytes:Bytes):VoidCopies bytes into the buffer at offset.
function read(offset:Int64, length:Int64):Byteslength bytes from offset.
function close():VoidReleases the native value now. The collector does it otherwise. Using this object afterwards throws.