nw::demo::GraphicsDrawing::DrawRectangle Member Function

Syntax

void DrawRectangle(
     s32 posh,
     s32 posv,
     s32 sizeh,
     s32 sizev,
     ut::Color8 color
);

void DrawRectangle(
     const math::VEC2 & pos,
     const math::VEC2 & size,
     ut::Color8 color
);

List of Overloaded Member Functions

DrawRectangle ( s32, s32, s32, s32, ut::Color8 ) Renders a line in the shape of a rectangle. The CPU generates the vertices without using a line shader.
DrawRectangle(const math::VEC2 &, const math::VEC2 &, ut::Color8) Renders a line in the shape of a rectangle. The CPU generates the vertices without using a line shader.

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

Renders a line in the shape of a rectangle. The CPU generates the vertices without using a line shader.

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

Renders a line in the shape of a rectangle. The CPU generates the vertices without using a line shader.


CONFIDENTIAL