Buffer
A GPUBuffer.
Static methods
function hxnAdopt(hxnRaw:Handle):BufferAn object for a value the library returned.
Properties
var hxnRaw:HandleMethods
function size():Int64function read(offset:Int64, length:Int64):Future<Bytes>Maps length bytes at offset for reading, copies them out and unmaps the buffer. The buffer needs BufferUsage.MapRead; offset is a multiple of 8, length of 4.
function close():VoidReleases the native value now. The collector does it otherwise. Using this object afterwards throws.