$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
app.c File Reference
#include "app.h"
#include "action_notifier.h"
#include "adaptive_sampler.h"
#include "app_binding.h"
#include "app_input.h"
#include "app_settings.h"
#include "app_ui.h"
#include "async_loader.h"
#include "camera.h"
#include "fps.h"
#include "gl_common.h"
#include "glad/glad.h"
#include "perf_mode.h"
#include "postprocess.h"
#include "profiler.h"
#include "renderer.h"
#include "scene.h"
#include "texture.h"
#include "tracy_gpu.h"
#include "window.h"
#include <GLFW/glfw3.h>
#include <stb_image.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for app.c:

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...
 

Variables

static const char *const DEFAULT_ENV_FILENAME = "env.hdr"
 

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:

Variable Documentation

◆ DEFAULT_ENV_FILENAME

const char* const DEFAULT_ENV_FILENAME = "env.hdr"
static