PSYQo
Public Member Functions | Public Attributes | List of all members
psyqo::Prim::Sprite Struct Reference

The Sprite primitive. More...

#include <primitives.hh>

Collaboration diagram for psyqo::Prim::Sprite:
Collaboration graph
[legend]

Public Member Functions

 Sprite (Color c)
 
void setColor (Color c)
 

Public Attributes

Vertex position
 
TexInfo texInfo
 
Vertex size
 

Detailed Description

The Sprite primitive.

This primitive will draw a sprite of arbitrary size. 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, and the size member specifies actual sprite size to blit.

The texture information needs to be specified with a TPage primitive beforehand.


The documentation for this struct was generated from the following file: