nw::demo::GraphicsDrawing::DrawLine Member Function
void DrawLine(
s32 x1,
s32 y1,
s32 x2,
s32 y2,
ut::Color8 color
);
| Name | Description | |
|---|---|---|
| in | x1 | X-coordinate of the line start point. |
| in | y1 | Y-coordinate of the line start point. |
| in | x2 | X-coordinate of the line end point. |
| in | y2 | Y-coordinate of the line end point. |
| in | color | The color. |
Draws a line. The CPU creates a vertex without using a line shader.
CONFIDENTIAL