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

◆ set_primitive_topology()

void MayaFlux::Nodes::GpuSync::TopologyGeneratorNode::set_primitive_topology ( Portal::Graphics::PrimitiveTopology  topology)
inline

Set primitive topology for rendering.

Parameters
topologyPrimitive topology (e.g. LINE_LIST, TRIANGLE_LIST)

This determines how the vertex data is interpreted when rendered. For example, LINE_LIST treats every pair of vertices as a line segment, while TRIANGLE_LIST treats every triplet of vertices as a triangle.

Definition at line 286 of file TopologyGeneratorNode.hpp.

286{ m_primitive_topology = topology; }
Portal::Graphics::PrimitiveTopology m_primitive_topology