Simple Platform Bindings for graphic context management
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-27 17:36:08 -05:00
.github/workflows .NET 10, update build.yml 2026-06-20 19:56:42 -05:00
SPB Select macOS library name based on VK_DRIVER_FILES value 2026-06-27 17:36:08 -05:00
SPB.Testing chore: Replace IntPtr with nint 2026-06-22 11:22:46 -05:00
.gitattributes Fix mixed line returns 2021-11-26 22:27:19 +01:00
.gitignore Initial commit 2021-03-21 15:01:08 +01:00
LICENSE.txt Initial commit 2021-03-21 15:01:08 +01:00
README.md Add surface creation support for Vulkan on macOS 2022-10-19 00:13:23 +02:00
SPB.sln Fix mixed line returns 2021-11-26 22:27:19 +01:00

SPB (Simple Platform Bindings)

This is an API providing simple ways to handle native window and graphic context on various platform.

Graphic context support:

  • OpenGL
  • Vulkan (surface creation for Windows, Xlib, XCB and Metal)

Platform support:

  • X11 via GLX (v1.3 and upper, backward compatibility to do)
  • WGL (with WGL_ARB_create_context, WGL_ARB_create_context_profile, WGL_ARB_pixel_format and WGL_EXT_swap_control)

TODO:

  • EGL
  • Cocoa (& Carbone?)
  • Metal
  • DirectX