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.Int32size of buffer (w/out padding)
destroy(): Voidinit(aFloats: cpp.UInt32): ResultAllocate and align buffer
| Name | Type |
|---|---|
aFloats |
cpp.UInt32 |
| Returns |
|---|
| Result |
clear(): VoidClear data to zero.