A template buffer that holds an array of elements of type T. More...
Public Member Functions | |
T * | getData () const |
Gets the starting address of the inner array. | |
const size_t | getParticleSize () const |
Gets the number of elements for a single particle. | |
size_t | getDataSize () const |
Gets the total number of T in the inner array The value is equal to particleSize * nbParticles. |
A template buffer that holds an array of elements of type T.
Definition at line 38 of file SPK_ArrayBuffer.h.
T * getData | ( | ) | const |
Gets the starting address of the inner array.
Definition at line 132 of file SPK_ArrayBuffer.h.
size_t getDataSize | ( | ) | const |
Gets the total number of T in the inner array The value is equal to particleSize * nbParticles.
Definition at line 144 of file SPK_ArrayBuffer.h.
const size_t getParticleSize | ( | ) | const |
Gets the number of elements for a single particle.
Definition at line 138 of file SPK_ArrayBuffer.h.