Is there a list of resources which help to abstract over OpenGL and Vulkan, as their as their GLSL dialects? (DirectX and HLSL are also welcomed)

This page summarizes the projects mentioned and recommended in the original post on /r/opengl

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • glslcc

    GLSL cross-compiler tool (GLSL->HLSL, MSL, GLES2, GLES3, GLSLv3), using SPIRV-cross and glslang

  • For cross compiling you can look at https://github.com/septag/glslcc - which uses SPIRV-Cross too.

  • sokol

    minimal cross-platform standalone C headers

  • Then there are of course some open-source projects attemping things like this, e.g. https://github.com/floooh/sokol/blob/master/sokol_gfx.h

  • 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.

    WorkOS logo
  • bgfx

    Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

  • u/LtJax already mentioned the Sokol library, another somewhat popular cross-platform rendering library is bgfx.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts