@rapidsai/glfw
v22.12.1
Published
Platform-native (and headless) GPU-accelerated OpenGL windows
Downloads
15
Keywords
Readme
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