AlignedFloatBuffer

soloud.AlignedFloatBuffer (extern class)

Class that handles aligned allocations to support vectorized operations

Static Members

Returns
AlignedFloatBuffer

Instance Members

aligned pointer


raw allocated pointer (for delete)


mFloats: cpp.Int32

size of buffer (w/out padding)


destroy(): Void

init(aFloats: cpp.UInt32): Result

Allocate and align buffer

Name Type
aFloats cpp.UInt32
Returns
Result

clear(): Void

Clear data to zero.