{"id":15310640,"url":"https://github.com/timvanscherpenzeel/webgl-constants","last_synced_at":"2025-07-18T22:32:26.083Z","repository":{"id":48018699,"uuid":"125854083","full_name":"TimvanScherpenzeel/webgl-constants","owner":"TimvanScherpenzeel","description":"Complete set of constants as specified in the WebGL, WebGL2 and extension spec.","archived":false,"fork":false,"pushed_at":"2022-12-03T06:25:07.000Z","size":466,"stargazers_count":9,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-22T01:42:02.551Z","etag":null,"topics":["constants","enum","es2015","extensions","gl","mdn","typings","webgl","webgl2"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/TimvanScherpenzeel.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}},"created_at":"2018-03-19T12:28:46.000Z","updated_at":"2024-11-21T23:28:45.000Z","dependencies_parsed_at":"2023-01-23T04:30:27.703Z","dependency_job_id":null,"html_url":"https://github.com/TimvanScherpenzeel/webgl-constants","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TimvanScherpenzeel/webgl-constants","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimvanScherpenzeel%2Fwebgl-constants","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimvanScherpenzeel%2Fwebgl-constants/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimvanScherpenzeel%2Fwebgl-constants/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimvanScherpenzeel%2Fwebgl-constants/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimvanScherpenzeel","download_url":"https://codeload.github.com/TimvanScherpenzeel/webgl-constants/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimvanScherpenzeel%2Fwebgl-constants/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265846840,"owners_count":23838157,"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":["constants","enum","es2015","extensions","gl","mdn","typings","webgl","webgl2"],"created_at":"2024-10-01T08:28:54.818Z","updated_at":"2025-07-18T22:32:25.827Z","avatar_url":"https://github.com/TimvanScherpenzeel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebGL constants\n\n![](http://img.badgesize.io/TimvanScherpenzeel/webgl-constants/master/dist/webgl-constants.cjs.js.svg?compression=gzip\u0026maxAge=60)\n[![npm version](https://badge.fury.io/js/webgl-constants.svg)](https://badge.fury.io/js/webgl-constants)\n\nComplete set of constants as specified in the WebGL, WebGL2 and extension spec.\n\nAll constants have their original names prefixed with `GL_` in order to namespace the constants and were directly ported from the documentation on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Constants). In some cases the documentation describes duplicate cases such as `UNSIGNED_BYTE` as both a `data` type as well as a `pixel` type. For that reason I've decided to prefix each with their type resulting in `GL_DATA_UNSIGNED_BYTE` and `GL_PIXEL_UNSIGNED_BYTE`.\n\n## Licence\n\nMy work is released under the [MIT license](https://raw.githubusercontent.com/TimvanScherpenzeel/webgl-constants/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimvanscherpenzeel%2Fwebgl-constants","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimvanscherpenzeel%2Fwebgl-constants","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimvanscherpenzeel%2Fwebgl-constants/lists"}