🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

webgl-constants

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webgl-constants

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

1.1.1
latest
Version published
Weekly downloads
387K
-7.59%
Maintainers
1
Weekly downloads
 
Created

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.

FAQs

Package last updated on 22 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts