|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::CompositeGeometryBuffer::add_geometry | ( | const std::string & | name, |
| const std::shared_ptr< Nodes::GpuSync::GeometryWriterNode > & | node, | ||
| Portal::Graphics::PrimitiveTopology | topology, | ||
| const std::shared_ptr< Core::Window > & | target_window | ||
| ) |
Add a geometry collection.
| name | Unique identifier for this geometry |
| node | GeometryWriterNode to render |
| topology | Primitive topology for this geometry |
| target_window | Window to render to (used for shader config) |
The node's vertex data will be aggregated with other geometries during upload, but rendered independently with the specified topology.
Definition at line 79 of file CompositeGeometryBuffer.cpp.
References add_geometry(), MayaFlux::Portal::Graphics::RenderConfig::fragment_shader, MayaFlux::Portal::Graphics::RenderConfig::geometry_shader, MayaFlux::Portal::Graphics::LINE_LIST, MayaFlux::Portal::Graphics::LINE_STRIP, MayaFlux::Portal::Graphics::POINT_LIST, MayaFlux::Portal::Graphics::RenderConfig::target_window, MayaFlux::Portal::Graphics::TRIANGLE_FAN, MayaFlux::Portal::Graphics::TRIANGLE_LIST, MayaFlux::Portal::Graphics::TRIANGLE_STRIP, and MayaFlux::Portal::Graphics::RenderConfig::vertex_shader.
Referenced by add_geometry().
Here is the call graph for this function:
Here is the caller graph for this function: