The primitive used to begin a polyline.
This primitive is used to begin a flat-color polyline. As polylines are drawn using multiple Line primitives, this primitive is used to set the color of the polyline and the first vertex. As polylines can be complex, this allows drawing them piece by piece, iteratively. After sending this primitive, you need to send a number of Vertex structures using the GPU's sendRaw
method, and then send a PolyLineEnd struct to finish the polyline. Note that it may be necessary to use the waitFifo
method of the GPU to ensure that the GPU has finished processing the previous vertex data before sending the next one.