|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
inline |
Word offset of the attribute matching the given modality, if any.
| modality | Attribute kind to search for, e.g. DataModality::VERTEX_POSITIONS_3D or VERTEX_COLORS_RGB. |
The alignment check exists for GPU code addressing this record as a flat float/uint array rather than through a struct: GpuFieldOperator and the particle spatial hash both index by word, not byte.
Definition at line 70 of file VertexLayout.hpp.
References attributes.