MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / LineVertex

Class LineVertex

src/plot_renderer/shader.rs:100–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98
99/// Helper struct for managing vertex buffers
100struct VertexBuffer {
101 buffer: Buffer,
102 vertex_count: u32,
103}
104
105/// Helper struct for managing line vertex buffers
106struct LineBuffer {
107 buffer: Buffer,
108 segments: Vec<LineSegment>,
109}
110
111struct LineVertex<'a> {
112 start: [f32; 2],
113 end: [f32; 2],
114 color: &'a iced::Color,
115 style: u32,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected