{"id":23119228,"url":"https://github.com/over-run/glcs","last_synced_at":"2026-04-28T20:06:04.328Z","repository":{"id":134719056,"uuid":"338806652","full_name":"Over-Run/GLCs","owner":"Over-Run","description":"OpenGL bindings for C#.","archived":false,"fork":false,"pushed_at":"2022-01-26T07:18:32.000Z","size":629,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"WinX64","last_synced_at":"2025-03-12T04:35:45.431Z","etag":null,"topics":["csharp","glfw","glfw-library","glfw-opengl-library","glfw3","opengl"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Over-Run.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":"2021-02-14T13:02:22.000Z","updated_at":"2024-01-20T07:09:46.000Z","dependencies_parsed_at":"2023-06-19T05:35:17.575Z","dependency_job_id":null,"html_url":"https://github.com/Over-Run/GLCs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Over-Run%2FGLCs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Over-Run%2FGLCs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Over-Run%2FGLCs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Over-Run%2FGLCs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Over-Run","download_url":"https://codeload.github.com/Over-Run/GLCs/tar.gz/refs/heads/WinX64","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247112739,"owners_count":20885605,"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":["csharp","glfw","glfw-library","glfw-opengl-library","glfw3","opengl"],"created_at":"2024-12-17T05:32:10.042Z","updated_at":"2026-04-28T20:06:04.264Z","avatar_url":"https://github.com/Over-Run.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GLCs ![License](https://img.shields.io/github/license/Over-Run/GLCs)\n\nOpenGL bindings for C#. ![Nuget](https://img.shields.io/nuget/v/GLCs) ![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/GLCs)\n\nNow include:\n- [GLFW](https://www.glfw.org/) 3.3.6\n- OpenGL 4.6\n\n[If you are sure that any bugs come from this library, or you want any features come to this library, please report them to us!](https://github.com/Over-Run/GLCs/issues)\n\n## How to Use\n\n1. Add package to your project:\n   ```\n   dotnet add package GLCs\n   ```\n2. Use it just like [GLCs_test](GLCs_test).\n\n**Note**: Required `glfw3.dll` and `opengl32.dll`.\n\nThe all classes are under `GLCs` namespace.\n\nThe `GL` class includes all functions (4.6) in `glew.h`.\n\n### The `GLFW` class\n\nIncludes all funtions in `glfw3.h`.\n\n#### Nullable Types\n\nMark a method may return \"NULL\" in C, or mark a param can be \"NULL\" in C.\n\n`[Nullable] type[] param`:\n\n```c#\nvoid themethod([Nullable] ref type[] param) { }\nvoid othermethod()\n{\n    type[] a = {};\n    themethod(ref a);\n}\n```\n\n`[Nullable] aDelegate param`:\n\n```c#\ndelegate void aDelegate();\nvoid themethod([Nullable] ref aDelegate param) { }\nvoid othermethod()\n{\n    themethod(null);\n}\n```\n\n`[Nullable] IntPtr param`:\n\n```c#\nvoid themethod([Nullable] IntPtr param) { }\nvoid othermethod()\n{\n    themethod(IntPtr.Zero);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fover-run%2Fglcs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fover-run%2Fglcs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fover-run%2Fglcs/lists"}