Getting started with OpenGL & GLFW in C# – Tutorial



In this tutorial, we go through how to set up a Visual Studio project with OpenGL and GLFW using C#. The purpose of this tutorial is to provide you with a base project from which you can continue to learn OpenGL, from for example learnopengl.com. In the future, I will probably upload more videos on OpenGL topics that follow the progression of learnopengl.com, so make sure to subscribe if you would like to see that!

First link (GLFW bindings in C#):
https://github.com/ForeverZer0/glfw-net

Second link (GLFW binaries download page):
https://www.glfw.org/download.html

Third link (OpenGL binding in C#):
https://gist.githubusercontent.com/dcronqvist/8e0c594532748e8fc21133ac6e3e8514/raw/89a0bcbdbd9692790f95fd60143980482a12d817/GL.cs

Fourth link (Sample HelloTriangle program):
https://gist.githubusercontent.com/dcronqvist/4e83dc3a4defe5780f1d4b6cac7558f6/raw/623f31ba200bf600eab74f2e7d3e4b1e8f6753e1/HelloTriangle.cs

0:00 Introduction
0:25 Downloading files
2:02 Setting up a Visual Studio Project
4:34 Importing OpenGL bindings
5:36 Testing a HelloTriangle program
7:49 It all works!
8:00 What now?

#OpenGL #GLFW #gamedev

Comments are closed.