MASS4.Guinevere.OpenGL.Raylib
6.0.0
dotnet add package MASS4.Guinevere.OpenGL.Raylib --version 6.0.0
NuGet\Install-Package MASS4.Guinevere.OpenGL.Raylib -Version 6.0.0
<PackageReference Include="MASS4.Guinevere.OpenGL.Raylib" Version="6.0.0" />
<PackageVersion Include="MASS4.Guinevere.OpenGL.Raylib" Version="6.0.0" />
<PackageReference Include="MASS4.Guinevere.OpenGL.Raylib" />
paket add MASS4.Guinevere.OpenGL.Raylib --version 6.0.0
#r "nuget: MASS4.Guinevere.OpenGL.Raylib, 6.0.0"
#:package MASS4.Guinevere.OpenGL.Raylib@6.0.0
#addin nuget:?package=MASS4.Guinevere.OpenGL.Raylib&version=6.0.0
#tool nuget:?package=MASS4.Guinevere.OpenGL.Raylib&version=6.0.0
Guinevere.OpenGL.Raylib
OpenGL API using Raylib-cs.
Basic Usage
using Guinevere;
namespace Example;
public abstract class Program
{
public static void Main()
{
var gui = new Gui();
using var win = new GuiWindow(gui);
win.RunGui(() =>
{
gui.DrawRect(gui.ScreenRect, Color.Blue);
gui.DrawText("Hello, world!");
});
}
}
Rendering and frame pacing
Skia draws on the GPU into Raylib's default framebuffer. When a Skia GL context cannot be created, Skia rasterizes on the CPU and the frame is uploaded as a Raylib texture; GUINEVERE_RENDERER=raster forces that path. CanvasRenderer.IsGpuAccelerated reports which one runs.
The window renders on demand by default: it waits for input between frames, and win.Pacing.OnDemand = false renders continuously instead. On demand, it renders a few frames after each input event, while a mouse button is held, whenever keyed animations, style transitions and timed controls are moving, and at least every Pacing.MaxIdleSeconds (0.5 s). Content that changes without input calls gui.RequestFrame() or gui.RequestFrameIn(seconds). Raylib has no timed event wait, so the idle window sleeps and polls input every 8 ms; requests from other threads are picked up at the next poll. GUINEVERE_PACING=on-demand or continuous overrides the setting at run time.
License
This project is licensed under the MIT License. See the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- MASS4.Guinevere (>= 6.0.0)
- Raylib-cs (>= 8.1.0)
- SkiaSharp (>= 4.153.1)
- SkiaSharp.NativeAssets.Linux (>= 4.153.1)
- SkiaSharp.Views.Desktop.Common (>= 4.153.1)
- SkiaSharp.Vulkan.SharpVk (>= 4.153.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.0.0 | 0 | 10/10/2026 |
| 5.9.0 | 77 | 10/6/2026 |
| 5.8.0 | 96 | 10/5/2026 |
| 5.7.0 | 109 | 10/3/2026 |
| 5.6.1 | 80 | 10/2/2026 |
| 5.4.0 | 86 | 9/30/2026 |
| 5.3.0 | 87 | 9/29/2026 |
| 5.2.0 | 91 | 9/28/2026 |
| 5.1.0 | 93 | 9/27/2026 |
| 5.0.0 | 99 | 9/26/2026 |
| 4.2.0 | 96 | 9/25/2026 |
| 4.1.0 | 102 | 9/23/2026 |
| 4.0.0 | 103 | 9/20/2026 |
| 3.1.0 | 104 | 9/19/2026 |
| 3.0.0 | 97 | 9/18/2026 |
| 2.1.0 | 108 | 9/17/2026 |
| 2.0.1 | 103 | 9/14/2026 |