NAME
ttypt/lam.h - Public header for the liblamina rendering and input system.
SYNOPSIS
#include <stdint.h>
#include <stddef.h>
#include './lam-key.h'
Macros
Typedefs
Software rendering callback.
Keyboard event callback prototype.
Optional surface/floor elevation callback: returns surface Z at (wx, wy).
Enumerations
Input field flags used by keyboard handlers.
Standard pointer cursor shapes for desktop backends.
Functions
Obtain the current framebuffer dimensions.
Initialise the OpenGL context, window, and input system.
Detailed Description
Public header for the liblamina rendering and input system.
liblamina is a lightweight, cross-platform 2D/3D graphics layer providing a unified API across OpenGL, framebuffer, WebGL2/WASM, and software backends.
It manages window/framebuffer creation, texture and sprite drawing, color and tint management, 3D terrain/billboard streaming, and basic input event handling.
Function Documentation
void lam_size (uint32_t * width, uint32_t * height)
Obtain the current framebuffer dimensions.
Parameters
width Framebuffer width in pixels.
height Framebuffer height in pixels.
Author
Generated automatically by Doxygen for liblamina from the source code.