libdragon
Loading...
Searching...
No Matches
rdpq_tex_internal.h
Go to the documentation of this file.
1
5#ifndef LIBDRAGON_RDPQ_TEX_INTERNAL_H
6#define LIBDRAGON_RDPQ_TEX_INTERNAL_H
7
31typedef void (*large_tex_draw)(rdpq_tile_t tile, const surface_t *tex, int s0, int t0, int s1, int t1,
32 void (*draw_cb)(rdpq_tile_t tile, int s0, int t0, int s1, int t1), bool filtering);
33
34void __rdpq_tex_blit(const surface_t *surf, float x0, float y0, const rdpq_blitparms_t *parms, large_tex_draw ltd);
35
36#endif
rdpq_tile_t
Tile descriptors.
Definition rdpq.h:250
Blitting parameters for rdpq_tex_blit.
Definition rdpq_tex.h:303
void(* large_tex_draw)(rdpq_tile_t tile, const surface_t *tex, int s0, int t0, int s1, int t1, void(*draw_cb)(rdpq_tile_t tile, int s0, int t0, int s1, int t1), bool filtering)
Helper function to draw a large surface that doesn't fit in TMEM.
Definition rdpq_tex_internal.h:31
void __rdpq_tex_blit(const surface_t *surf, float x0, float y0, const rdpq_blitparms_t *parms, large_tex_draw ltd)
Internal implementation of rdpq_tex_blit, using a custom large tex loader callback function.
Definition rdpq_tex.c:668
A surface buffer for graphics.
Definition surface.h:140