|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::optional< Kakshya::MeshData > MayaFlux::Buffers::triangle_soup_mesh | ( | std::span< const uint8_t > | vertex_bytes | ) |
Wrap non-indexed triangle vertices as MeshData.
| vertex_bytes | Interleaved Kakshya::MeshVertex records; the vertex count must be a nonzero multiple of 3. |
Definition at line 438 of file StagingUtils.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, MayaFlux::Kakshya::MeshInsertion::build(), MayaFlux::Kakshya::MeshData::empty(), MayaFlux::Kakshya::VertexLayout::for_meshes(), indices, MayaFlux::Kakshya::MeshInsertion::insert_flat(), and MF_ERROR.
Referenced by download_compute_mesh(), and MayaFlux::Buffers::DataReadProcessor::resolve_mesh().
Here is the call graph for this function:
Here is the caller graph for this function: