| 
    Nugget
    
   | 
 
The 8x8 Sprite primitive. More...
#include <psyqo/primitives/sprites.hh>
Public Member Functions | |
| Sprite8x8 () | |
| Sprite8x8 (Color c) | |
| Sprite8x8 & | setColor (Color c) | 
| Sprite8x8 & | setOpaque () | 
| Sprite8x8 & | setSemiTrans () | 
Public Attributes | |
| Vertex | position | 
| PrimPieces::TexInfo | texInfo | 
Static Public Attributes | |
| static constexpr uint32_t | BASE = 0b011'10'1 << 26 | 
The 8x8 Sprite primitive.
This primitive will draw a sprite of 8 by 8 pixels. The position member describes the location within the screen where the sprite will be blitted. The texInfomember 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::Sprite8x8::position | 
| PrimPieces::TexInfo psyqo::Prim::Sprite8x8::texInfo |