qmetrics.net

OpenTK

Cross-platform C# bindings for OpenGL, audio, and compute

OpenTK screenshot

OpenTK wraps OpenGL, OpenGL ES, OpenAL, and OpenCL for C# apps. It adds windowing, input, and linear algebra for games, renderers, and scientific visualization.

Overview

OpenTK is a set of low-level C# bindings for OpenGL, OpenGL ES, OpenAL, and OpenCL. It is aimed at developers who want to build their own renderer, game engine, or scientific application rather than adopt a full game engine.

Beyond graphics and compute bindings, the toolkit includes a windowing layer, mouse and keyboard handling, joystick input, and a linear algebra library. You can run it standalone or embed it in an existing GUI stack such as WPF, Windows Forms, GTK+, Qt, or VTK.

OpenGL and OpenGL ES coverage includes modern versions, and the project ships tutorials for learning contemporary OpenGL. Separate packages cover WinForms and WPF integration controls. Distribution is primarily through NuGet, with optional modular packages beyond the main metapackage.

OpenTK is explicitly not a game engine; it offers building blocks and leaves architecture to the application. It runs on major desktop platforms including Windows, Linux, and macOS, with community interest in restored mobile support.

Key features

  • OpenGL and OpenGL ES bindings
  • OpenAL and OpenCL bindings
  • GLFW-based windowing and input
  • Linear algebra math library
  • Standalone or GUI-embedded use
  • WPF and WinForms control packages
  • Community OpenGL tutorials
  • NuGet metapackage and modules

Use cases

  • Custom game engines in C#
  • Scientific visualization apps
  • 3D-accelerated desktop GUIs
  • Cross-platform graphics prototypes
  • Audio via OpenAL in C# apps

Tags

Similar software

Bevy Engine

Rust game engine with ECS architecture

Bevy Engine is a data-driven Rust game engine for 2D and 3D work. It emphasizes modularity, parallel execution, and fast iteration while the project remains under active development.

★ 50k⟳ yesterdayApache-2.0
Open Source Alternative to:Unity

Phaser

HTML5 2D game framework with Canvas and WebGL

Phaser is a JavaScript and TypeScript framework for browser games on desktop and mobile, with scene APIs, physics, animations, and loaders. Games can target embed platforms or wrap for native stores via third-party tooling

★ 40.8k⟳ 3 months agoMIT

raylib

Minimal C library for games and graphical programs

raylib is a C99 graphics and game programming library with no mandatory external dependencies. It suits prototypes, tools, education, and embedded targets across desktop, mobile, and web.

★ 35.8k⟳ todayZlib
Frameworks & PlatformsDesktop/CLI app

Matter.js

JavaScript two-dimensional rigid body physics engine

Matter.js simulates 2D rigid-body physics for browser games and interactive pages. It runs in modern browsers and Node.js with canvas rendering and touch-friendly controls.

★ 18.7k⟳ 1 month agoMIT
Frameworks & PlatformsDesktop/CLI app

wgpu

Cross-platform safe Rust graphics API

wgpu implements the WebGPU-style API in Rust for native and WebAssembly targets. It backs Firefox, Servo, and Deno WebGPU integration and maps to Vulkan, Metal, D3D12, and GLES.

★ 18.7k⟳ todayApache-2.0
Frameworks & PlatformsDesktop/CLI app

GLFW

Cross-platform windowing library for OpenGL and Vulkan

GLFW is a C library that creates windows, graphics contexts, and surfaces while handling input and events. It targets OpenGL, OpenGL ES, and Vulkan on desktop and Unix-like systems.

★ 15.5k⟳ 3 months agoZlib
Frameworks & PlatformsDesktop/CLI app