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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Novolis.Avalonia.Raylib" Version="2026.1.6.230" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.Avalonia.Raylib" Version="2026.1.6.230" />
                    
Directory.Packages.props
<PackageReference Include="Novolis.Avalonia.Raylib" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Novolis.Avalonia.Raylib --version 2026.1.6.230
                    
#r "nuget: Novolis.Avalonia.Raylib, 2026.1.6.230"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Novolis.Avalonia.Raylib@2026.1.6.230
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Novolis.Avalonia.Raylib&version=2026.1.6.230
                    
Install as a Cake Addin
#tool nuget:?package=Novolis.Avalonia.Raylib&version=2026.1.6.230
                    
Install as a Cake Tool

Novolis

Novolis · Docs · Source

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.Rendering for OpenGL TwoD or CPU path-trace hosts when Raylib is not required.
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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