$darkmode
#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>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" |
| void app_cleanup | ( | App * | app | ) |
Safely releases all GPU and CPU resources held by the application.
| int app_init | ( | App * | app, |
| int | width, | ||
| int | height, | ||
| const char * | title | ||
| ) |
Fully initializes the application state, window, and OpenGL context.
| void app_run | ( | App * | app | ) |
Enters the main application rendering and event loop.
| void app_update | ( | App * | app | ) |
One-frame logic update (physics, timers, camera).
|
static |