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).
variable arcLength¶
Cumulative screen-space arc length in pixels; 0 for solid lines.
variable b¶
Blue channel (used when useVertexColor is true).
variable g¶
Green channel (used when useVertexColor is true).
variable id¶
Point index in the data buffer.
variable r¶
Red channel (used when useVertexColor is true).
variable side¶
±(1 + corner) : the sign is the ribbon side,corner the step corner after the point (0 for the point itself).
The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/renderers/LineStroke.hpp