Novolis.Raylib.Hosting 2026.1.2.112

dotnet add package Novolis.Raylib.Hosting --version 2026.1.2.112
                    
NuGet\Install-Package Novolis.Raylib.Hosting -Version 2026.1.2.112
                    
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.Raylib.Hosting" Version="2026.1.2.112" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.Raylib.Hosting" Version="2026.1.2.112" />
                    
Directory.Packages.props
<PackageReference Include="Novolis.Raylib.Hosting" />
                    
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.Raylib.Hosting --version 2026.1.2.112
                    
#r "nuget: Novolis.Raylib.Hosting, 2026.1.2.112"
                    
#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.Raylib.Hosting@2026.1.2.112
                    
#: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.Raylib.Hosting&version=2026.1.2.112
                    
Install as a Cake Addin
#tool nuget:?package=Novolis.Raylib.Hosting&version=2026.1.2.112
                    
Install as a Cake Tool

Novolis

Novolis · Docs · Source

Novolis.Raylib.Hosting

IHost integration with phased game-loop systems (included transitively by Novolis.Raylib).

Install

dotnet add package Novolis.Raylib

Quick start

using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Novolis.Raylib.Abstractions;
using Novolis.Raylib.Colors;
using Novolis.Raylib.Hosting;
using Novolis.Raylib.Rendering;

var builder = RaylibHost.CreateApplicationBuilder(args);
builder.AddRaylib(o =>
{
    o.WindowTitle = "My App";
    o.WindowWidth = 1280;
    o.WindowHeight = 720;
});
builder.AddRaylibSystem<GameRenderSystem>();
await builder.Build().RunAsync();

sealed class GameRenderSystem : IRenderSystem
{
    public void OnRender(float deltaSeconds, int screenWidth, int screenHeight)
    {
        Graphics.ClearBackground(RaylibColors.RayWhite);
        Graphics.DrawText("Hello Hosting", 16, 16, 24, RaylibColors.DarkGray);
    }
}

Systems

Register types with AddRaylibSystem<T>() when they implement one or more of:

Interface Phase
IStartupSystem Once at start
IFixedUpdateSystem Fixed timestep
IUpdateSystem Variable update
IRenderSystem Draw (inside BeginDrawing/EndDrawing)
IShutdownSystem On exit

Options (RaylibHostOptions)

  • WindowTitle, WindowWidth, WindowHeight, TargetFps
  • LoopModel: RenderLoop (default) or EventLoop
  • FixedTimestepSeconds for fixed updates

Headless

Set NOVOLIS_RAYLIB_HEADLESS=1 before RunAsync to start the host without a blocking raylib window (see sample HelloHosting).

See also

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 (1)

Showing the top 1 NuGet packages that depend on Novolis.Raylib.Hosting:

Package Downloads
Novolis.Raylib

Novolis Raylib — one install for games, tools, and realtime apps (raylib + Dear ImGui).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.1.2.112 43 10/4/2026
2026.1.2.111 42 10/4/2026
2026.1.2.110 43 10/4/2026
2026.1.2.109 56 10/1/2026
2026.1.2.108 54 9/30/2026