|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::optional< VertexAccess > MayaFlux::Kakshya::as_vertex_access | ( | std::span< const DataVariant > | channels, |
| const VertexAccessConfig & | config = {} |
||
| ) |
Extract a VertexAccess from a DataVariant.
Inspects the active variant type and produces a VertexAccess whose layout describes the resulting vertex data. Scalar and complex types are converted to a positional vec3 waveform representation. GLM vector types are passed through without copying.
| variant | Source data. |
Definition at line 82 of file VertexAccess.cpp.
References as_point_vertex_access().
Here is the call graph for this function: