Nugget
|
The 16x16 Sprite primitive. More...
#include <psyqo/primitives/sprites.hh>
Public Member Functions | |
Sprite16x16 () | |
Sprite16x16 (Color c) | |
Sprite16x16 & | setColor (Color c) |
Sprite16x16 & | setOpaque () |
Sprite16x16 & | setSemiTrans () |
Public Attributes | |
Vertex | position |
PrimPieces::TexInfo | texInfo |
Static Public Attributes | |
static constexpr uint32_t | BASE = 0b011'11'1 << 26 |
The 16x16 Sprite primitive.
This primitive will draw a sprite of 16 by 16 pixels. 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 |
|
inline |
|
staticconstexpr |
Vertex psyqo::Prim::Sprite16x16::position |
PrimPieces::TexInfo psyqo::Prim::Sprite16x16::texInfo |