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

◆ set_line_thickness()

void MayaFlux::Nodes::GpuSync::TopologyGeneratorNode::set_line_thickness ( float  thickness,
bool  force_uniform = true 
)

Set line thickness.

Parameters
thicknessLine width
force_uniformWether to ingore per segment thickness and use this color for all points

Definition at line 200 of file TopologyGeneratorNode.cpp.

201{
202 m_line_thickness = thickness;
203 m_force_uniform_thickness = force_uniform;
204 m_vertex_data_dirty = true;
205}
bool m_vertex_data_dirty
Flag: vertex data or layout changed since last GPU upload.
bool m_force_uniform_thickness
If true, all vertices use m_line_thickness instead of per-vertex thickness.

References m_force_uniform_thickness, m_line_thickness, and MayaFlux::Nodes::GpuSync::GeometryWriterNode::m_vertex_data_dirty.