.TH "lam_tile_core" 3 "Version 1.0.0" "liblamina" \" -*- nroff -*- .ad l .nh .SH NAME lam_tile_core \- liblamina tilemap creation and access .PP \- Tilemap management functions\&. .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "uint32_t \fBlam_tm_new\fP (uint32_t img_ref, uint32_t w, uint32_t h)" .br .RI "Register a new tilemap\&. " .ti -1c .RI "const \fBlam_tm_t\fP * \fBlam_tm_get\fP (uint32_t tm_ref)" .br .RI "Retrieve a tilemap descriptor\&. " .in -1c .SH "Detailed Description" .PP Tilemap management functions\&. .SH "Function Documentation" .PP .SS "const \fBlam_tm_t\fP * lam_tm_get (uint32_t tm_ref)" .PP Retrieve a tilemap descriptor\&. .PP \fBParameters\fP .RS 4 \fItm_ref\fP Tilemap handle\&. .RE .PP \fBReturns\fP .RS 4 Pointer to descriptor, or NULL if invalid\&. .RE .PP .SS "uint32_t lam_tm_new (uint32_t img_ref, uint32_t w, uint32_t h)" .PP Register a new tilemap\&. Divides the given image into fixed-size tiles\&. .PP \fBParameters\fP .RS 4 \fIimg_ref\fP Image reference (texture ID)\&. .br \fIw\fP Tile width\&. .br \fIh\fP Tile height\&. .RE .PP \fBReturns\fP .RS 4 Tilemap handle (tm_ref)\&. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for liblamina from the source code\&.