![]() |
Castor3D 0.12.0
Multiplatform 3D engine
|
#include <ParticleElementDeclaration.hpp>
Public Member Functions | |
| C3D_API | ParticleElementDeclaration ()=default |
| ParticleElementDeclaration (castor::String const &name, ElementUsages const &usages, ParticleFormat type, uint32_t offset=0u, uint32_t divisor=0u) | |
| Constructor. More... | |
Public Attributes | |
| castor::String | m_name |
| ElementUsages | m_usages |
| ParticleFormat | m_dataType { ParticleFormat::eVec4f } |
| uint32_t | m_offset { 0u } |
| uint32_t | m_divisor { 0u } |
|
default |
|
inline |
Constructor.
| [in] | name | The associated variable name. |
| [in] | usages | Element possible usages (ElementUsage combination). |
| [in] | type | Element type. |
| [in] | offset | Offset in the stream. |
| [in] | divisor | Instanciation attribute increment. |
| ParticleFormat castor3d::ParticleElementDeclaration::m_dataType { ParticleFormat::eVec4f } |
Element type.
Referenced by castor3d::operator!=(), and castor3d::operator==().
| uint32_t castor3d::ParticleElementDeclaration::m_divisor { 0u } |
Instantiation attribute increment.
Referenced by castor3d::operator!=(), and castor3d::operator==().
| castor::String castor3d::ParticleElementDeclaration::m_name |
The associated variable name.
Referenced by castor3d::operator!=(), and castor3d::operator==().
| uint32_t castor3d::ParticleElementDeclaration::m_offset { 0u } |
Offset in buffer.
Referenced by castor3d::operator!=(), and castor3d::operator==().
| ElementUsages castor3d::ParticleElementDeclaration::m_usages |
Element usage.
Referenced by castor3d::operator!=(), and castor3d::operator==().