Questions tagged [glfw]

GLFW is an Open Source, 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. Use this tag for any code that uses the GFLW library, either directly or via one of the language bindings.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Mouse and keyboard event system

I wrote a mouse and keyboard event system in C++, using the GLFW library to get mouse and keyboard states. I've been working on a 3D game engine of my own for a long time (about 9 months) and wanted ...
Tristen Woodruff's user avatar
1 vote
1 answer

Vulkan application to draw a triangle

I've been following the ever popular '' guide on Vulkan and the result is this program which draws a multicolored triangle. I'm interested in finding out how to make my code more ...
Red's user avatar
  • 171
6 votes
3 answers

ad hoc logging in c++ projects

I am currently going through this Vulkan tutorial. An extra excercise was writing a function which checks if the hardware you are running on supports the extensions other libraries require (GLFW in ...
Edward's user avatar
  • 191
6 votes
1 answer

C++ OpenGL - GLFW Window Abstraction

I made a GLFW window abstraction, as I find it very useful for me to make such abstractions while learning an API, and It actually pretty much eases my work while coding. Anyways, share your ...
Christian Panov's user avatar
2 votes
0 answers

Voxel Engine with Vulkan

Here is my voxel engine. I want some review for performance on the renderer. What can be improved? What must change? Also I'm not sure it is efficient to use vkWaitQueueIdle for syncing. The end goal ...
R3DC0DE's user avatar
  • 49
2 votes
1 answer

GLFW simple event handler

I wrote a simple concept of an event system in cpp. It is uses a namespace and a global state, but normally a global state with namespaces is bad practice. Is there a better way to do simple event ...
FirstOpenGLandCPP's user avatar
9 votes
2 answers

OpenGL 3 Mandelbrot Set

I've written a short program to learn about computing with drawing using OpenGL 3. To do so, I created a program to create two triangles, which form a quad, and pass all the arguments for computing ...
theoden8's user avatar
  • 329