$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
renderer.h File Reference
#include <stdint.h>
Include dependency graph for renderer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  RenderContext
 All state needed by renderer_draw_frame for a single frame. Populated by the caller (App or test harness) once per frame. More...
 

Typedefs

typedef void(* RenderUIFn) (void *user_data)
 Callback type for rendering the UI overlay. Decouples the renderer from the App struct. More...
 

Functions

void renderer_draw_frame (const RenderContext *ctx)
 Orchestrates the entire frame render (scene, postprocess, ui). More...
 

Typedef Documentation

◆ RenderUIFn

typedef void(* RenderUIFn) (void *user_data)

Callback type for rendering the UI overlay. Decouples the renderer from the App struct.

Function Documentation

◆ renderer_draw_frame()

void renderer_draw_frame ( const RenderContext *  ctx)

Orchestrates the entire frame render (scene, postprocess, ui).

Here is the call graph for this function: