AlignedFloatBuffer
soloud.AlignedFloatBuffer (extern class)
Class that handles aligned allocations to support vectorized operations
Static Members
create(): AlignedFloatBuffer
Returns |
---|
AlignedFloatBuffer |
Instance Members
mData: cpp.Pointer<cpp.Float32>
aligned pointer
mBasePtr: cpp.Pointer<cpp.UInt8>
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.