nw::demo::GraphicsDrawing::DrawLine Member Function
void DrawLine(
const math::VEC2 & p1,
const math::VEC2 & p2,
ut::Color8 color
);
| Name | Description | |
|---|---|---|
| in | p1 | The line start point. |
| in | p2 | The line end point. |
| in | color | The color. |
Draws a line. The CPU creates a vertex without using a line shader.
CONFIDENTIAL