nw::demo::GraphicsDrawing::DrawRectangle Member Function
void DrawRectangle(
const math::VEC2 & pos,
const math::VEC2 & size,
ut::Color8 color
);
| Name | Description | |
|---|---|---|
| in | pos | Coordinates of the upper left edge. |
| in | size |
Rectangle size. |
| in | color | The color. |
Renders a line in the shape of a rectangle. The CPU generates the vertices without using a line shader.
CONFIDENTIAL