KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Functions for initializing PVR polygon contexts More...
Functions | |
void | pvr_poly_cxt_col (pvr_poly_cxt_t *dst, pvr_list_t list) |
Fill in a polygon context for non-textured polygons. | |
void | pvr_poly_cxt_txr (pvr_poly_cxt_t *dst, pvr_list_t list, int textureformat, int tw, int th, pvr_ptr_t textureaddr, int filtering) |
Fill in a polygon context for a textured polygon. | |
void | pvr_sprite_cxt_col (pvr_sprite_cxt_t *dst, pvr_list_t list) |
Fill in a sprite context for non-textured sprites. | |
void | pvr_sprite_cxt_txr (pvr_sprite_cxt_t *dst, pvr_list_t list, int textureformat, int tw, int th, pvr_ptr_t textureaddr, int filtering) |
Fill in a sprite context for a textured sprite. | |
void | pvr_poly_cxt_col_mod (pvr_poly_cxt_t *dst, pvr_list_t list) |
Fill in a polygon context for non-textured polygons affected by a modifier volume. | |
void | pvr_poly_cxt_txr_mod (pvr_poly_cxt_t *dst, pvr_list_t list, int textureformat, int tw, int th, pvr_ptr_t textureaddr, int filtering, int textureformat2, int tw2, int th2, pvr_ptr_t textureaddr2, int filtering2) |
Fill in a polygon context for a textured polygon affected by modifier volumes. | |
Functions for initializing PVR polygon contexts
void pvr_poly_cxt_col | ( | pvr_poly_cxt_t * | dst, |
pvr_list_t | list ) |
Fill in a polygon context for non-textured polygons.
This function fills in a pvr_poly_cxt_t with default parameters appropriate for rendering a non-textured polygon in the given list.
dst | Where to store the polygon context. |
list | The primitive list to be used. |
void pvr_poly_cxt_col_mod | ( | pvr_poly_cxt_t * | dst, |
pvr_list_t | list ) |
Fill in a polygon context for non-textured polygons affected by a modifier volume.
This function fills in a pvr_poly_cxt_t with default parameters appropriate for rendering a non-textured polygon in the given list that will be affected by modifier volumes.
dst | Where to store the polygon context. |
list | The primitive list to be used. |
void pvr_poly_cxt_txr | ( | pvr_poly_cxt_t * | dst, |
pvr_list_t | list, | ||
int | textureformat, | ||
int | tw, | ||
int | th, | ||
pvr_ptr_t | textureaddr, | ||
int | filtering ) |
Fill in a polygon context for a textured polygon.
This function fills in a pvr_poly_cxt_t with default parameters appropriate for rendering a textured polygon in the given list.
dst | Where to store the polygon context. |
list | The primitive list to be used. |
textureformat | The format of the texture used. |
tw | The width of the texture, in pixels. |
th | The height of the texture, in pixels. |
textureaddr | A pointer to the texture. |
filtering | The type of filtering to use. |
void pvr_poly_cxt_txr_mod | ( | pvr_poly_cxt_t * | dst, |
pvr_list_t | list, | ||
int | textureformat, | ||
int | tw, | ||
int | th, | ||
pvr_ptr_t | textureaddr, | ||
int | filtering, | ||
int | textureformat2, | ||
int | tw2, | ||
int | th2, | ||
pvr_ptr_t | textureaddr2, | ||
int | filtering2 ) |
Fill in a polygon context for a textured polygon affected by modifier volumes.
This function fills in a pvr_poly_cxt_t with default parameters appropriate for rendering a textured polygon in the given list and being affected by modifier volumes.
dst | Where to store the polygon context. |
list | The primitive list to be used. |
textureformat | The format of the texture used (outside). |
tw | The width of the texture, in pixels (outside). |
th | The height of the texture, in pixels (outside). |
textureaddr | A pointer to the texture (outside). |
filtering | The type of filtering to use (outside). |
textureformat2 | The format of the texture used (inside). |
tw2 | The width of the texture, in pixels (inside). |
th2 | The height of the texture, in pixels (inside). |
textureaddr2 | A pointer to the texture (inside). |
filtering2 | The type of filtering to use (inside). |
void pvr_sprite_cxt_col | ( | pvr_sprite_cxt_t * | dst, |
pvr_list_t | list ) |
Fill in a sprite context for non-textured sprites.
This function fills in a pvr_sprite_cxt_t with default parameters appropriate for rendering a non-textured sprite in the given list.
dst | Where to store the sprite context. |
list | The primitive list to be used. |
void pvr_sprite_cxt_txr | ( | pvr_sprite_cxt_t * | dst, |
pvr_list_t | list, | ||
int | textureformat, | ||
int | tw, | ||
int | th, | ||
pvr_ptr_t | textureaddr, | ||
int | filtering ) |
Fill in a sprite context for a textured sprite.
This function fills in a pvr_sprite_cxt_t with default parameters appropriate for rendering a textured sprite in the given list.
dst | Where to store the sprite context. |
list | The primitive list to be used. |
textureformat | The format of the texture used. |
tw | The width of the texture, in pixels. |
th | The height of the texture, in pixels. |
textureaddr | A pointer to the texture. |
filtering | The type of filtering to use. |