Skip to content

Struct QAccelPlot::LineVertex

ClassList > QAccelPlot > LineVertex

Vertex layout for line geometry, shared with the main thread for pre-built vertex caches.

  • #include <LineStroke.hpp>

Public Attributes

Type Name
unsigned char a
Alpha channel (used when useVertexColor is true).
float arcLength
Cumulative screen-space arc length in pixels; 0 for solid lines.
unsigned char b
Blue channel (used when useVertexColor is true).
unsigned char g
Green channel (used when useVertexColor is true).
float id
Point index in the data buffer.
unsigned char r
Red channel (used when useVertexColor is true).
float side
±(1 + corner) : the sign is the ribbon side,corner the step corner after the point (0 for the point itself).

Public Attributes Documentation

variable a

Alpha channel (used when useVertexColor is true).

unsigned char QAccelPlot::LineVertex::a;


variable arcLength

Cumulative screen-space arc length in pixels; 0 for solid lines.

float QAccelPlot::LineVertex::arcLength;


variable b

Blue channel (used when useVertexColor is true).

unsigned char QAccelPlot::LineVertex::b;


variable g

Green channel (used when useVertexColor is true).

unsigned char QAccelPlot::LineVertex::g;


variable id

Point index in the data buffer.

float QAccelPlot::LineVertex::id;


variable r

Red channel (used when useVertexColor is true).

unsigned char QAccelPlot::LineVertex::r;


variable side

±(1 + corner) : the sign is the ribbon side,corner the step corner after the point (0 for the point itself).

float QAccelPlot::LineVertex::side;



The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/renderers/LineStroke.hpp