Silk.NET
Introduction
Gum can be used in Silk.NET projects by importing Gum's Gum.SilkNet NuGet package. Gum.SilkNet renders through SkiaSharp and adds real Forms input via Silk.NET.Input; your project still owns window creation and the render loop.
Creating an New Project
Before using Gum, you should first verify that you can create a normal windowed Silk.NET project. For the full API reference, see the Silk.NET documentation: https://dotnet.github.io/Silk.NET/docs/v3/
If you are starting a brand new Silk.NET project from scratch, you can follow these steps:
First, create an empty console project
Open Visual Studio
Select File -> New Project, or select the Create a new project option in the popup window.
Select the option to create a Console App
Enter a name, select a location, then click Next
Select the desired Framework and other options, then click Create
Next, add the needed NuGet package:
Expand your game project in the Solution Explorer
Right-click on Dependencies and select Manage NuGet Packages
Search for and install
Silk.NET.Windowing
Once you have your project set up, it might look similar to the following code block — a window that opens and clears to a solid color every frame:
Next, you can begin adding Gum to your project. For more information see the Adding/Initializing Gum page.
Last updated
Was this helpful?

