libdragon
|
(Deprecated) Old RDP library More...
Data Structures | |
struct | sprite_cache |
Cached sprite structure. More... | |
Functions | |
uint32_t | rdp_load_texture (uint32_t texslot, uint32_t texloc, mirror_t mirror, sprite_t *sprite) |
Load a sprite into RDP TMEM. | |
uint32_t | rdp_load_texture_stride (uint32_t texslot, uint32_t texloc, mirror_t mirror, sprite_t *sprite, int offset) |
Load part of a sprite into RDP TMEM. | |
void | rdp_draw_textured_rectangle_scaled (uint32_t texslot, int tx, int ty, int bx, int by, double x_scale, double y_scale, mirror_t mirror) |
Draw a textured rectangle with a scaled texture. | |
void | rdp_draw_textured_rectangle (uint32_t texslot, int tx, int ty, int bx, int by, mirror_t mirror) |
Draw a textured rectangle. | |
void | rdp_draw_sprite (uint32_t texslot, int x, int y, mirror_t mirror) |
Draw a texture to the screen as a sprite. | |
void | rdp_draw_sprite_scaled (uint32_t texslot, int x, int y, double x_scale, double y_scale, mirror_t mirror) |
Draw a texture to the screen as a scaled sprite. | |
void | rdp_set_blend_color (uint32_t color) |
Set the blend draw color for subsequent filled primitive operations. | |
void | rdp_draw_filled_triangle (float x1, float y1, float x2, float y2, float x3, float y3) |
Draw a filled triangle. | |
void | rdp_set_texture_flush (flush_t flush) |
Set the flush strategy for texture loads. | |
(Deprecated) Old RDP library