| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | line |
line handle |
||
| real(kind=c_float), | intent(in), | dimension(20) | :: | values |
Set a line strip's trail (shaders/line.vert) and upload it: values
are (the distance at the current time as a high/low pair, the
direction (1, -1; 0: no trail), the color flags), (the past's cutoff
and fade start, the future's fade start and cutoff: distances from the
current time's), the past's color (rgba), the future's, (the past's
dash pattern and factor, the future's). Returns 0, or -1 if line
isn't a line strip.