|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
One sample's worth of data for one named stream. More...
#include <SpatialCache.hpp>
Collaboration diagram for MayaFlux::IO::SpatialSample:Public Attributes | |
| std::span< const SpatialAttribute > | attributes |
| std::span< const uint64_t > | ids |
| std::span< const glm::vec3 > | positions |
| Portal::Graphics::PrimitiveTopology | topology |
| std::span< const glm::vec3 > | velocities |
| std::span< const int32_t > | vertex_counts_per_curve |
One sample's worth of data for one named stream.
topology decides which of the remaining fields apply: POINT_LIST: ids/velocities meaningful, vertex_counts_per_curve must be empty (every position is its own point). LINE_LIST / LINE_STRIP: vertex_counts_per_curve required (its sum must equal positions.size()), ids/velocities must be empty (Alembic's Curves schema has neither). Any other topology is rejected: triangle data belongs to ModelWriter, not this class.
Definition at line 67 of file SpatialCache.hpp.