{"id":15049347,"url":"https://github.com/lukasbanana/mentalgl","last_synced_at":"2025-04-10T02:07:15.571Z","repository":{"id":85019569,"uuid":"127163358","full_name":"LukasBanana/MentalGL","owner":"LukasBanana","description":"Single header OpenGL utility library in the public domain","archived":false,"fork":false,"pushed_at":"2024-01-14T21:50:42.000Z","size":179,"stargazers_count":24,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T03:43:52.097Z","etag":null,"topics":["c","c99","debugging-tool","gl","opengl","public-domain","utility"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LukasBanana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-03-28T15:46:32.000Z","updated_at":"2024-11-26T09:20:02.000Z","dependencies_parsed_at":"2024-01-31T02:09:35.658Z","dependency_job_id":"dd5e513f-48d5-45f9-bbea-d80dadd2df77","html_url":"https://github.com/LukasBanana/MentalGL","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukasBanana%2FMentalGL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukasBanana%2FMentalGL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukasBanana%2FMentalGL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukasBanana%2FMentalGL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LukasBanana","download_url":"https://codeload.github.com/LukasBanana/MentalGL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248142939,"owners_count":21054671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","c99","debugging-tool","gl","opengl","public-domain","utility"],"created_at":"2024-09-24T21:19:54.446Z","updated_at":"2025-04-10T02:07:15.540Z","avatar_url":"https://github.com/LukasBanana.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"MentalGL - OpenGL debugging utility to review entire render state\n=================================================================\n\n**Public domain** (CC0) header-only library written in C99.\n\nCode Example\n------------\n\nHere is a brief example how to use this utility library:\n```c\n// Include and implement MentalGL in a single source file\n#define MENTAL_GL_IMPLEMENTATION\n#include \"mental_gl.h\"\n\n// Do OpenGL stuff ...\n\n// Query current OpenGL state\nMGLRenderState rs;\nmglQueryRenderState(\u0026rs);\n\n// Print queries OpenGL state (ignore optional formatting descriptor, otherwise see 'MGLQueryFormatting' structure)\nMGLString s = mglPrintRenderState(\u0026rs, NULL);\n\n// Print result\nputs(mglGetUTF8String(s));\n\n// Free opaque string object\nmglFreeString(s);\n```\n\nOutput Example\n--------------\n\n![ExamplePicture1](MentalGL_Example_1.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukasbanana%2Fmentalgl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukasbanana%2Fmentalgl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukasbanana%2Fmentalgl/lists"}