Class that handles aligned allocations to support vectorized operations

Static methods

@:has_untypedstaticinlinecreate():AlignedFloatBuffer

Variables

mData:Pointer<Float32>

aligned pointer

mBasePtr:Pointer<UInt8>

raw allocated pointer (for delete)

mFloats:Int32

size of buffer (w/out padding)

Methods

@:has_untypedinlinedestroy():Void

init(aFloats:UInt32):Result

Allocate and align buffer

clear():Void

Clear data to zero.