Our great sponsors
-
Silk.NET
The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Arqan
Arqan is an OpenGL and GLFW binding for C# that allows you to directly use all OpenGL methods and enums methods and enums from the popular GLFW library
Is there a way for me to use SDL2 with OpenGL and C#? The SDL2 C# bindings I'm using don't seem to have bindings for the OpenGL commands. Honestly I just want a quick way to draw 2D primitives with fragment shaders (I don't need vertex shaders). I've worked with OpenTK, but it seems counterintuitive to mold it into a program where you wanna just make draw calls without worrying about Vertex Arrays. Is there any way for me to get access to fragment shaders in SDL2 with C#?
Have you looked at Silk.NET before?
I used this and it works great https://github.com/TheBoneJarmer/Arqan