coastline 0.0.4
Loading...
Searching...
No Matches
hudcanvas.h
Go to the documentation of this file.
1#ifndef COASTLINE_HUDCANVAS_H
2#define COASTLINE_HUDCANVAS_H
3
4#include <common/render.h>
5
7#define GBI_OP_HUD_CANVAS 0xd8
9#define GBI_OP_FULL_SCISSOR 0xd7
11#define GBI_OP_FULL_TEXTURE_RECTANGLE 0xd6
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
25int GetHudCanvasX(int coordinate);
30int GetHudCanvasY(int coordinate);
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif /* COASTLINE_HUDCANVAS_H */
The state the renderer shares between the parts of a frame.
int GetHudCanvasY(int coordinate)
ViewportRect * BeginRaceHudCanvas(const ViewportRect *viewports)
Record a scaled overlay without narrowing screen coordinates in legacy commands.
void EndRaceHudCanvas(void)
End the overlay and restore framebuffer coordinates for subsequent display-list commands.
int GetHudCanvasHeight(void)
int GetHudCanvasX(int coordinate)
int GetHudCanvasWidth(void)
The rectangle of the screen a view fills.
Definition render.h:134