JuliaGL / Glfw.jl
Licence: mit
Julia interface to GLFW, a multi-platform library for creating windows with OpenGL contexts and managing input and events.
Stars: ✭ 82
Programming Languages
julia
2034 projects
Projects that are alternatives of or similar to Glfw.jl
Vxr
General purpose engine written in C++ with emphasis on materials rendering (PBR, clear coat, anisotropy, iridescence)
Stars: ✭ 181 (+120.73%)
Mutual labels: opengl, 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 (+4217.07%)
Mutual labels: opengl, glfw
Lwjgl3 Tutorial
Tutorial for the Lightweight Java Game Library (LWJGL) 3
Stars: ✭ 199 (+142.68%)
Mutual labels: opengl, glfw
Borealis
Hardware accelerated, controller and TV oriented UI library for PC and Nintendo Switch (libnx).
Stars: ✭ 135 (+64.63%)
Mutual labels: opengl, glfw
Nimgl
NimGL is a Nim library that offers bindings for popular libraries used in computer graphics
Stars: ✭ 218 (+165.85%)
Mutual labels: opengl, glfw
Magnum
Lightweight and modular C++11 graphics middleware for games and data visualization
Stars: ✭ 3,728 (+4446.34%)
Mutual labels: opengl, glfw
Opengl cmake skeleton
❤️ A ready to use cmake skeleton using GLFW, Glew and glm. 👍
Stars: ✭ 118 (+43.9%)
Mutual labels: opengl, glfw
Lighthouse2
Lighthouse 2 framework for real-time ray tracing
Stars: ✭ 542 (+560.98%)
Mutual labels: opengl, glfw
Flextgl
OpenGL and Vulkan header and loader generator.
Stars: ✭ 180 (+119.51%)
Mutual labels: opengl, glfw
Bgfx
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Stars: ✭ 10,252 (+12402.44%)
Mutual labels: opengl, glfw
Rabbittoolbox
🤸🏾♀️👗开源的动画渲染软件,提倡以简单、易用,高质量的物理演算以及渲染质量和性能,为喜爱二次元动画的用户降低视频制作门槛
Stars: ✭ 309 (+276.83%)
Mutual labels: opengl, glfw
Silk.net
The high-speed OpenAL, OpenGL, Vulkan, and GLFW bindings library your mother warned you about.
Stars: ✭ 534 (+551.22%)
Mutual labels: opengl, glfw
Allegro5
The official Allegro 5 git repository. Pull requests welcome!
Stars: ✭ 1,165 (+1320.73%)
Mutual labels: opengl
Wfsignatureview
WFSignatureView, signature view in Swift and based on OpenGL
Stars: ✭ 77 (-6.1%)
Mutual labels: opengl
GLFW.jl
Julia interface to GLFW 3, a multi-platform library for creating windows with OpenGL or OpenGL ES contexts and receiving many kinds of input. GLFW has native support for Windows, OS X and many Unix-like systems using the X Window System, such as Linux and FreeBSD.
Example
using GLFW
# Create a window and its OpenGL context
window = GLFW.CreateWindow(640, 480, "GLFW.jl")
# Make the window's context current
GLFW.MakeContextCurrent(window)
# Loop until the user closes the window
while !GLFW.WindowShouldClose(window)
# Render here
# Swap front and back buffers
GLFW.SwapBuffers(window)
# Poll for and process events
GLFW.PollEvents()
end
GLFW.DestroyWindow(window)
Interface
Read the GLFW documentation for detailed instructions on how to use the library. The Julia interface is almost identical to the underlying C interface, with a few notable differences:
- Clipboard (
glfwGetClipboard
,glfwSetClipboard
) and time (glfwGetTime
,glfwSetTime
) functions have been omitted because Julia's standard library already supports similar functionality. -
glfwInit
andglfwTerminate
are called automatically using the__init__
andatexit
functions. While it is okay to still call them explicitly, it is redundant and not required.
Footnotes
- Special thanks to @afterwise for writing an early implementation of GLFW 3 support.
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].