MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ add_geometry() [4/4]

std::shared_ptr< GpuSync::GeometryLeafNode > MayaFlux::Nodes::Network::AssemblyOperator::add_geometry ( std::vector< Kakshya::Vertex vertices,
Portal::Graphics::PrimitiveTopology  topology = Portal::Graphics::PrimitiveTopology::POINT_LIST 
)

Add an item from fully specified vertices.

Definition at line 17 of file AssemblyOperator.cpp.

20{
21 auto node = std::make_shared<GpuSync::GeometryLeafNode>(std::move(vertices));
22 node->set_primitive_topology(topology);
23 node->compute_frame();
24 m_items.push_back(node);
25 return node;
26}
std::vector< std::shared_ptr< GpuSync::GeometryWriterNode > > m_items

References m_items.