@node-3d/deps-opengl
v8.1.1
Published
Binaries and headers for OpenGL-dependent addons
Maintainers
Readme
OpenGL dependencies
This is a part of Node3D project.
npm install @node-3d/deps-openglThis dependency package distributes OpenGL headers plus GLFW3 and GLEW binaries and headers through npm for Node.js addons.
- Platforms: Windows x64/ARM64, Linux x64/ARM64, macOS x64/ARM64.
- Libraries: GLEW 2.2, GLFW 3.4, OpenGL.
Binary Layout Notes
On macOS, the package provides libglfw.3.dylib so downstream native loaders can
link and load the expected GLFW dylib name directly from this dependency package.
Windows ARM64 builds use the Windows SDK OpenGL import libraries instead of
carrying a platform-specific OpenGL32.Lib. The GLEW build also accounts for
ARM64 linker base-address constraints.
Usage
JS Interface
See the @node-3d/glfw public entrypoint.
See the @node-3d/webgl public entrypoint.
binding.gyp
See the @node-3d/glfw binding.gyp.
See the @node-3d/webgl binding.gyp.
addon.cpp
See the @node-3d/glfw native source.
See the @node-3d/webgl native source.
Refer to GLFW and GLEW official docs.
Legal notice
GLFW
GLFW is used under ZLIB license. It is explicitly stated that GLFW can be used commercially in closed-source projects. GLFW licensing information (a copy) is given in a separate file, which also can be found on GLFW's official repository. The binaries are built with this GitHub Action.
GLEW
GLEW is used under it's own custom license. It is explicitly stated that GLEW can be used commercially in closed-source projects. GLEW licensing information (a copy) is given in a separate file, which also can be found on GLEW's official repository. The binaries are built with this GitHub Action.
OpenGL
End users, independent software vendors, and others writing code based on the OpenGL API are free from licensing requirements. https://www.opengl.org/about/#11
The rest of this package is MIT licensed.
Binary Origin
Release archives are built by this repository's public GitHub Actions workflows.
Attestations: https://github.com/node-3d/deps-opengl/attestations
To verify a downloaded archive:
gh release download <tag> -R node-3d/deps-opengl -p <platform>.gz
gh attestation verify <platform>.gz -R node-3d/deps-opengl