Nugget
|
The 1x1 Sprite primitive. More...
#include <psyqo/primitives/sprites.hh>
Public Member Functions | |
Sprite1x1 () | |
Sprite1x1 (Color c) | |
Sprite1x1 & | setColor (Color c) |
Sprite1x1 & | setOpaque () |
Sprite1x1 & | setSemiTrans () |
Public Attributes | |
Vertex | position |
PrimPieces::TexInfo | texInfo |
Static Public Attributes | |
static constexpr uint32_t | BASE = 0b011'01'1 << 26 |
The 1x1 Sprite primitive.
This primitive will draw a sprite of exactly 1 pixel. The position
member describes the location within the screen where the sprite will be blitted. The texInfo
member indicates where the source sprite is blitted from.
The texture information needs to be specified with a TPage primitive beforehand.
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
Vertex psyqo::Prim::Sprite1x1::position |
PrimPieces::TexInfo psyqo::Prim::Sprite1x1::texInfo |