Novolis.Avalonia.Raylib
2026.1.6.230
dotnet add package Novolis.Avalonia.Raylib --version 2026.1.6.230
NuGet\Install-Package Novolis.Avalonia.Raylib -Version 2026.1.6.230
<PackageReference Include="Novolis.Avalonia.Raylib" Version="2026.1.6.230" />
<PackageVersion Include="Novolis.Avalonia.Raylib" Version="2026.1.6.230" />
<PackageReference Include="Novolis.Avalonia.Raylib" />
paket add Novolis.Avalonia.Raylib --version 2026.1.6.230
#r "nuget: Novolis.Avalonia.Raylib, 2026.1.6.230"
#:package Novolis.Avalonia.Raylib@2026.1.6.230
#addin nuget:?package=Novolis.Avalonia.Raylib&version=2026.1.6.230
#tool nuget:?package=Novolis.Avalonia.Raylib&version=2026.1.6.230
Novolis.Avalonia.Raylib
Embeds a Raylib viewport inside Avalonia via a hidden GLFW window and RGBA framebuffer streaming.
Install
dotnet add package Novolis.Avalonia.Raylib
Prerequisites: Avalonia 12+, .NET 10, Novolis.Raylib.Runtime (native raylib per RID).
Quick start
using Novolis.Avalonia.Raylib;
using Novolis.Raylib.Rendering;
var host = new RaylibHostControl
{
FrameWidth = 640,
FrameHeight = 480,
MinHeight = 320,
};
host.FrameRendering += (_, e) =>
{
Graphics.ClearBackground(Colors.RayWhite);
Graphics.DrawText("Hello from Raylib inside Avalonia", 24, 24, 24, Colors.DarkGray);
};
FrameRendering runs on the Raylib render thread — only call Raylib draw APIs there.
Control
| Member | Purpose |
|---|---|
RaylibHostControl |
Streams Raylib frames into an Avalonia Image (stretch fill) |
FrameWidth / FrameHeight |
Internal render resolution (scaled to control bounds) |
TargetFps |
Raylib loop target FPS (default 60) |
FrameRendering |
Per-frame draw hook (RaylibFrameEventArgs) |
IsHostRunning |
Whether the embedded loop is active |
Boundaries
- Avalonia ↔ Raylib glue only — no Simulation or Physics references.
- Use
Novolis.Avalonia.Renderingfor OpenGL TwoD or CPU path-trace hosts when Raylib is not required.
| 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
- Avalonia (>= 12.1.3)
- Novolis.Avalonia.Rendering (>= 2026.1.6.230)
- Novolis.Math.Geometry (>= 2026.1.1.57)
- Novolis.Raylib.Abstractions (>= 2026.1.2.112)
- Novolis.Raylib.Runtime (>= 2026.1.2.112)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Novolis.Avalonia.Raylib:
| Package | Downloads |
|---|---|
|
Novolis.Avalonia.Cad
Shared Avalonia CAD editor/preview surface (.cadjson), Raylib model view, exports, and localhost HTTP/TCP session for LLM control. |
|
|
Novolis.Avalonia.ThreeD
Avalonia ThreeD editor surface: scene hierarchy, OpenGL wireframe viewport, mesh tools, lights, cameras, and agent session. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1.6.230 | 0 | 10/6/2026 |
| 2026.1.6.229 | 43 | 10/4/2026 |
| 2026.1.6.228 | 46 | 10/4/2026 |
| 2026.1.6.226 | 42 | 10/4/2026 |
| 2026.1.6.221 | 51 | 10/4/2026 |
| 2026.1.6.220 | 51 | 10/3/2026 |
| 2026.1.6.218 | 58 | 10/3/2026 |
| 2026.1.6.196 | 60 | 10/2/2026 |
| 2026.1.6.195 | 54 | 10/2/2026 |
| 2026.1.6.194 | 73 | 10/1/2026 |