.NET binding for WebGL through WebAssembly. *Please* follow the installation instructions at the Project Site.


Keywords
webgl, webgl2, csharp, dotnet, wrapper, webassembly, wasm, binding
License
MIT
Install
Install-Package WebGLDotNET -Version 2.1.0

Documentation

WebGL.NET

Build Status Run Tests NuGet

.NET binding for WebGL through WebAssembly. See the samples running here.

If you want to jump in quickly, Your first WebGL.NET app will guide you step by step.

Installation instructions

Apart from adding the NuGet package, make a local copy of:

  • this packages folder, which contains mandatory NuGets from Mono still not published in nuget.org; and
  • this NuGet.config along your SLN/CSPROJ

Features

  • WebGL 1 & 2 support
  • API C#-ified to make .NET Developers feel at home

Who's using it?

Apart from serving Wave Engine 3.0 for the Web, it's being used in some other really nice projects, such like:

Debugging

Run this in browser's Console to monitor how many bridged objects there are in such moment:

BINDING.mono_wasm_object_registry

Thanks

  • @kjpou1, for your PRs improving performance overall, along with nice comments on how stuff work underneath