summit/frontend/node_modules/webgl-constants
mula.liu eb63677c25 0.0.9 2025-12-09 00:31:30 +08:00
..
dist 0.0.9 2025-12-09 00:31:30 +08:00
src 0.0.9 2025-12-09 00:31:30 +08:00
.editorconfig 0.0.9 2025-12-09 00:31:30 +08:00
LICENSE 0.0.9 2025-12-09 00:31:30 +08:00
README.md 0.0.9 2025-12-09 00:31:30 +08:00
package.json 0.0.9 2025-12-09 00:31:30 +08:00
rollup.config.ts 0.0.9 2025-12-09 00:31:30 +08:00
tsconfig.json 0.0.9 2025-12-09 00:31:30 +08:00
tslint.json 0.0.9 2025-12-09 00:31:30 +08:00
yarn.lock 0.0.9 2025-12-09 00:31:30 +08:00

README.md

WebGL constants

npm version

Complete set of constants as specified in the WebGL, WebGL2 and extension spec.

All 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. 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.

Licence

My work is released under the MIT license.