#include <Particle.hpp>
◆ Particle() [1/4]
Constructor.
- Parameters
-
[in] | description | The particle's elements description. |
[in] | defaultValues | The default values for the particle's elements. |
◆ Particle() [2/4]
Constructor.
- Parameters
-
[in] | description | The particle's elements description. |
◆ Particle() [3/4]
Copy constructor.
- Parameters
-
[in] | rhs | The object to copy. |
◆ Particle() [4/4]
Move constructor.
- Parameters
-
[in] | rhs | The object to move. |
◆ getData() [1/2]
uint8_t * castor3d::Particle::getData |
( |
| ) |
|
|
inline |
- Returns
- The particle data.
◆ getData() [2/2]
uint8_t const * castor3d::Particle::getData |
( |
| ) |
const |
|
inline |
- Returns
- The particle data.
◆ getValue()
ElementTyper< Type >::Type castor3d::Particle::getValue |
( |
uint32_t |
index | ) |
const |
|
inline |
Sets the particle variable's value at given index.
- Parameters
-
[in] | index | The variable index. |
- Returns
- The variable value.
◆ operator=() [1/2]
Move assignment operator.
- Parameters
-
[in] | rhs | The object to move. |
◆ operator=() [2/2]
Copy assignment operator.
- Parameters
-
[in] | rhs | The object to copy. |
◆ setValue()
void castor3d::Particle::setValue |
( |
uint32_t |
index, |
|
|
typename ElementTyper< Type >::Type const & |
value |
|
) |
| |
|
inline |
Sets the particle variable's value at given index.
- Parameters
-
[in] | index | The variable index. |
[in] | value | The variable value. |
The documentation for this class was generated from the following file: