$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
app.h File Reference
#include "action_notifier.h"
#include "adaptive_sampler.h"
#include "app_binding.h"
#include "app_ui.h"
#include "async/async_coordinator.h"
#include "async_loader.h"
#include "camera.h"
#include "effect_benchmark.h"
#include "env_manager.h"
#include "fps.h"
#include "gl_common.h"
#include "gpu_profiler.h"
#include "gpu_profiler_ui.h"
#include "perf_mode.h"
#include "postprocess.h"
#include "scene.h"
#include "tracy_manager.h"
#include "ui.h"
#include <cglm/cglm.h>
#include "app_input.h"
Include dependency graph for app.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  App
 The central state container for the entire application. More...
 

Enumerations

enum  { TRACY_SCREENSHOT_WIDTH = 320 , TRACY_SCREENSHOT_HEIGHT = 180 }
 

Functions

int app_init (App *app, int width, int height, const char *title)
 Fully initializes the application state, window, and OpenGL context. More...
 
void app_cleanup (App *app)
 Safely releases all GPU and CPU resources held by the application. More...
 
void app_run (App *app)
 Enters the main application rendering and event loop. More...
 
void app_update (App *app)
 One-frame logic update (physics, timers, camera). More...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TRACY_SCREENSHOT_WIDTH 
TRACY_SCREENSHOT_HEIGHT 

Function Documentation

◆ app_cleanup()

void app_cleanup ( App app)

Safely releases all GPU and CPU resources held by the application.

Here is the call graph for this function:

◆ app_init()

int app_init ( App app,
int  width,
int  height,
const char *  title 
)

Fully initializes the application state, window, and OpenGL context.

Here is the call graph for this function:

◆ app_run()

void app_run ( App app)

Enters the main application rendering and event loop.

Here is the call graph for this function:

◆ app_update()

void app_update ( App app)

One-frame logic update (physics, timers, camera).

Here is the call graph for this function: