|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::GpuSync::MeshWriterNode::set_mesh | ( | const Kakshya::MeshData & | data | ) |
Replace all vertex and index data from a MeshData owner.
| data | Source mesh; vertex_variant must hold vector<uint8_t>, index_variant must hold vector<uint32_t>. |
Definition at line 21 of file MeshWriterNode.cpp.
References MayaFlux::Kakshya::MeshData::index_variant, MayaFlux::Kakshya::MeshData::layout, MF_ERROR, MayaFlux::Journal::NodeProcessing, MayaFlux::Journal::Nodes, set_mesh(), MayaFlux::Kakshya::VertexLayout::stride_bytes, and MayaFlux::Kakshya::MeshData::vertex_variant.
Referenced by MayaFlux::Nodes::GpuSync::SDFNode::rebuild(), and set_mesh().
Here is the call graph for this function:
Here is the caller graph for this function: