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

◆ add_geometry() [3/4]

std::shared_ptr< GpuSync::GeometryLeafNode > MayaFlux::Nodes::Network::AssemblyOperator::add_geometry ( std::vector< glm::vec3 >  positions,
Portal::Graphics::PrimitiveTopology  topology = Portal::Graphics::PrimitiveTopology::POINT_LIST 
)

Add an item from plain positions (color/scalar/normal/uv default).

Definition at line 6 of file AssemblyOperator.cpp.

9{
10 auto node = std::make_shared<GpuSync::GeometryLeafNode>(std::move(positions));
11 node->set_primitive_topology(topology);
12 node->compute_frame();
13 m_items.push_back(node);
14 return node;
15}
std::vector< std::shared_ptr< GpuSync::GeometryWriterNode > > m_items

References m_items.