@rapidsai/glfw
TypeScript icon, indicating that this package has built-in type declarations

22.12.1 • Public • Published

node-glfw (npm install @rapidsai/glfw)

A node native addon that provides bindings to the platform window manager via GLFW (https://www.glfw.org/).
GLFW provides cross-platform multi-display support for creating native windows that host an
OpenGL or Vulkan rendering context. These bindings provide a stripped-down version of the
DOM's "Window", "Document", and "Canvas" APIs.

dependencies:

  • @rapidsai/webgl

Window management:

  • Window wraps and manages a GLFW Window.
  • Document implements a few DOM Document APIs that frameworks expect.
  • Canvas implements a DOM Canvas APIs that provides a 3D rendering context.

GLFW APIs:

createWindow, showWindow, hideWindow, focusWindow, iconifyWindow, restoreWindow, maximizeWindow, requestWindowAttention, reparentWindow, destroyWindow, getWindowFrameSize, getWindowContentScale, setWindowSizeLimits, getPlatformWindowPointer, getPlatformContextPointer, get/setWindowIcon, get/setWindowSize, get/setWindowTitle, get/setWindowMonitor, get/setWindowOpacity, get/setWindowPosition, get/setWindowAttribute, get/setWindowAspectRatio, get/setWindowShouldClose

Readme

Keywords

none

Package Sidebar

Install

npm i @rapidsai/glfw

Weekly Downloads

0

Version

22.12.1

License

Apache-2.0

Unpacked Size

1.35 MB

Total Files

16

Last publish

Collaborators

  • rapidsai-owner
  • raydouglass
  • jacobtomlinson