All Projects → Reon90 → glfwJS

Reon90 / glfwJS

Licence: MIT license
The N-API bindings for GLFW

Programming Languages

c
50402 projects - #5 most used programming language
Makefile
30231 projects
python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to glfwJS

luajit-glfw
GLFW bindings for LuaJIT
Stars: ✭ 51 (+4.08%)
Mutual labels:  vulkan, glfw
Demos
Vulkan API crossplatform demos in Go
Stars: ✭ 103 (+110.2%)
Mutual labels:  vulkan, glfw
Oreon Engine
OpenGL/Vulkan Java 3D Engine
Stars: ✭ 431 (+779.59%)
Mutual labels:  vulkan, glfw
glfw-d
D translation of GLFW, a multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
Stars: ✭ 14 (-71.43%)
Mutual labels:  vulkan, glfw
GLFW3.NET
Automatic generated bindings of GLFW3 for .NET
Stars: ✭ 28 (-42.86%)
Mutual labels:  vulkan, glfw
Magnum
Lightweight and modular C++11 graphics middleware for games and data visualization
Stars: ✭ 3,728 (+7508.16%)
Mutual labels:  vulkan, glfw
Bgfx
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Stars: ✭ 10,252 (+20822.45%)
Mutual labels:  vulkan, glfw
Lwjgl3
LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan), audio (OpenAL), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR) applications.
Stars: ✭ 3,540 (+7124.49%)
Mutual labels:  vulkan, glfw
Berserk
[WIP] High performance 3D graphics game engine
Stars: ✭ 31 (-36.73%)
Mutual labels:  vulkan, glfw
Nimgl
NimGL is a Nim library that offers bindings for popular libraries used in computer graphics
Stars: ✭ 218 (+344.9%)
Mutual labels:  vulkan, glfw
zig-vulkan-triangle
simple triangle displayed using vulkan, glfw, and zig
Stars: ✭ 55 (+12.24%)
Mutual labels:  vulkan, glfw
virtualGizmo3D
Virtual GIZMO - 3D object manipulator / orientator, via mouse, with pan and dolly/zoom features
Stars: ✭ 36 (-26.53%)
Mutual labels:  vulkan, glfw
Silk.net
The high-speed OpenAL, OpenGL, Vulkan, and GLFW bindings library your mother warned you about.
Stars: ✭ 534 (+989.8%)
Mutual labels:  vulkan, glfw
Flextgl
OpenGL and Vulkan header and loader generator.
Stars: ✭ 180 (+267.35%)
Mutual labels:  vulkan, glfw
nuklear-glfw-vulkan
A nuklear adapter that does Vulkan rendering
Stars: ✭ 52 (+6.12%)
Mutual labels:  vulkan, glfw
scop vulkan
A 3D model viewer written C++20 and Vulkan
Stars: ✭ 133 (+171.43%)
Mutual labels:  vulkan, glfw
render-doctor
渲染医生,基于 RenderDoc 的渲染分析工具,以 html 形式展现方便阅读和分享。
Stars: ✭ 46 (-6.12%)
Mutual labels:  vulkan
vulk
Desktop/Android Python game development framework on top of Vulkan API
Stars: ✭ 31 (-36.73%)
Mutual labels:  vulkan
glm
OpenGL Mathematics (GLM)
Stars: ✭ 6,667 (+13506.12%)
Mutual labels:  vulkan
nautilus
another graphics engine
Stars: ✭ 16 (-67.35%)
Mutual labels:  vulkan

glfwJS

The N-API bindings for GLFW multi-platform library for OpenGL, OpenGL ES and Vulkan development on the desktop. It provides a simple API for creating windows, contexts and surfaces, receiving input and events.

Example

if (!glfwInit()) {
    process.exit(1);
}

const window = glfwCreateWindow(kWidth, kHeight, "Simple example", null, null);
if (!window) {
    glfwTerminate();
    process.exit(1);
}
glfwMakeContextCurrent(window);

glfwSwapInterval(1);
glfwSetKeyCallback(window, key_callback);

function drawLoop() {
    if (!glfwWindowShouldClose(window)) {
        setTimeout(drawLoop, 0);
    } else {
        glfwDestroyWindow(window);
        glfwTerminate();
        process.exit(0);
    }

    glfwSwapBuffers(window);
    glfwPollEvents();
}
drawLoop();
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].