{"id":20950451,"url":"https://github.com/colleagueriley/rgl","last_synced_at":"2025-05-14T03:32:35.237Z","repository":{"id":193786835,"uuid":"689478525","full_name":"ColleagueRiley/RGL","owner":"ColleagueRiley","description":"Simple ultra-lightweight OpenGL version abstraction layer HEAVILY based on RLGL that uses the opengl pipeline style.","archived":false,"fork":false,"pushed_at":"2024-05-28T17:13:49.000Z","size":675,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-29T08:21:57.874Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ColleagueRiley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2023-09-09T23:55:41.000Z","updated_at":"2024-06-01T23:22:33.679Z","dependencies_parsed_at":"2023-09-10T03:00:58.739Z","dependency_job_id":"adb15998-208d-4f70-9529-e322d2eac2d3","html_url":"https://github.com/ColleagueRiley/RGL","commit_stats":null,"previous_names":["colleagueriley/rgl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColleagueRiley%2FRGL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColleagueRiley%2FRGL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColleagueRiley%2FRGL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColleagueRiley%2FRGL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ColleagueRiley","download_url":"https://codeload.github.com/ColleagueRiley/RGL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225275711,"owners_count":17448387,"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":[],"created_at":"2024-11-19T00:48:40.998Z","updated_at":"2024-11-19T00:48:41.738Z","avatar_url":"https://github.com/ColleagueRiley.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RGL (Riley's OpenGL abstraction Layer)\n![logo](logo.png)\n\nAs of 5/28/2024, RGL is no longer going to be actively updated\n\nI will probably still respond to issues and pull requests, if any come up.\n\nSimple OpenGL version abstraction layer based on [RLGL](https://github.com/raysan5/raylib/blob/master/src/rlgl.h). \n\n- Allows you to use Modern OpenGL using the simple pipeline format.\n- Allows you to switch between Modern OpenGL and Legacy OpenGL without changing the code.\n- Allows you to load OpenGL 2.1, OpenGL 3.3, OpenGL ES, OpenGL ES2 or OpenGL 4.3\n- Designed to be more lightweight and better performance than RLGL \n- Modular can easily be changed to support non-OpenGL backends\n\n## Build statuses\n![RGL workflow](https://github.com/ColleagueRiley/RGL/actions/workflows/linux.yml/badge.svg)\n![RGL workflow windows](https://github.com/ColleagueRiley/RGL/actions/workflows/windows.yml/badge.svg)\n![RGL workflow windows](https://github.com/ColleagueRiley/RGL/actions/workflows/macos.yml/badge.svg)\n\n# Contacts\n- email : ColleagueRiley@gmail.com \n- discord : ColleagueRiley\n- discord server : https://discord.gg/pXVNgVVbvh\n\n# Documentation \nFor documentation read the `RGL.h` file and check out the example in `./example`\n\nMost OpenGL legacy documentation and examples should also apply to RGLx\n\n# Implementing a new backend\nTo implement a new backend you'll have to.\n\n* Init the backend in `rglInit` (loading shaders, other data)\n* Implement a load/free texture system inside of `rglCreateTexture`, `rglUpdateTexture` and `rglDeleteTextures`\n* Implement the backend's version of these functions, \n    * rglViewport\n    * rglClearColor\n    * rglClear\n    * rglViewport\n    * rglClearColor\n    * rglDepthFunc\n    * rglCullFace\n    * rglFrontFace\n    * rglHint\n    * rglEnable\n    * rglPushPixelValues\n    * rglTextureSwizzleMask\n    * rglAtlasAddBitmap\n* Render the data supplied to `rglRenderBatchWithShader` via the backend\n* Ensure all of the backend's allocated data is freed in `rglClose`\n\n# known issues\n- No EBO \n- 3D rendering doesn't seem to work\n- shader options need to be added/check\n\n# Credits\n\n# RLGL\nThis project was based on [RLGL](https://github.com/raysan5/raylib/blob/master/src/rlgl.h) and RLGL was used as a reference for some of the code in this project.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolleagueriley%2Frgl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolleagueriley%2Frgl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolleagueriley%2Frgl/lists"}