nw::demo::GraphicsDrawing::DrawLine Member Function

Syntax

void DrawLine(
     s32 x1,
     s32 y1,
     s32 x2,
     s32 y2,
     ut::Color8 color
);
void DrawLine(
     const math::VEC2 & p1,
     const math::VEC2 & p2,
     ut::Color8 color
);

List of Overloaded Member Functions

DrawRectangle(s32, s32, s32, s32, ut::Color8) Draws a line. The CPU creates a vertex without using a line shader.
DrawLine(const math::VEC2 &, const math::VEC2 &, ut::Color8) Draws a line. The CPU creates a vertex without using a line shader.

Description of DrawLine(s32, s32, s32, s32, ut::Color8)

Draws a line. The CPU creates a vertex without using a line shader.

Description of DrawLine(const math::VEC2 &, const math::VEC2 &, ut::Color8)

Draws a line. The CPU creates a vertex without using a line shader.


CONFIDENTIAL