Libdragon Graphics
Libdragon has some useful graphics APIs to control the display, frame buffer and 2D graphics rendering. Let’s have a look!
Display Subsystem
The display subsystem in Libdragon is used to provide a context for the Nintendo 64's viewport, bit depth and resolution.
Software graphics
Libdragon has a library of software graphics rendering functions that can be used to generate colours as well as draw shapes and sprites.
OpenGL
Libdragon is compatible with OpenGL, which is an industry-standard API for rendering 2D and 3D vector graphics.
Hardware graphics – updated
You can use the N64's Reality Display Processor to speed up hardware graphics rendering of shapes and sprites. It's faster, but more complex and less flexible.