Nugget
|
#include <psyqo/primitives/rectangles.hh>
Public Member Functions | |
Pixel () | |
Pixel (Color c) | |
Pixel & | setColor (Color c) |
Pixel & | setOpaque () |
Pixel & | setSemiTrans () |
Public Attributes | |
Vertex | position |
Static Public Attributes | |
static constexpr uint32_t | BASE = 0b011'01'0 << 26 |
The Pixel primitive.
This primitive will draw a single pixel. The position
member specifies the location within the screen where the pixel will be drawn. The color is specified by the constructor parameter, or the setColor
method.
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
Vertex psyqo::Prim::Pixel::position |