Novolis.Raylib.Hosting
2026.1.2.108
See the version list below for details.
dotnet add package Novolis.Raylib.Hosting --version 2026.1.2.108
NuGet\Install-Package Novolis.Raylib.Hosting -Version 2026.1.2.108
<PackageReference Include="Novolis.Raylib.Hosting" Version="2026.1.2.108" />
<PackageVersion Include="Novolis.Raylib.Hosting" Version="2026.1.2.108" />
<PackageReference Include="Novolis.Raylib.Hosting" />
paket add Novolis.Raylib.Hosting --version 2026.1.2.108
#r "nuget: Novolis.Raylib.Hosting, 2026.1.2.108"
#:package Novolis.Raylib.Hosting@2026.1.2.108
#addin nuget:?package=Novolis.Raylib.Hosting&version=2026.1.2.108
#tool nuget:?package=Novolis.Raylib.Hosting&version=2026.1.2.108
<p align="center"> <a href="https://github.com/Novolis-Platform/novolis-raylib"> <img src="https://raw.githubusercontent.com/Novolis-Platform/.github/main/brand/logo-icon.svg" width="72" alt="Novolis"/> </a> </p>
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,TargetFpsLoopModel:RenderLoop(default) orEventLoopFixedTimestepSecondsfor 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 | 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
- Microsoft.Extensions.Hosting (>= 10.0.12)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.12)
- Novolis.Raylib.Runtime (>= 2026.1.2.108)
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 | 50 | 10/4/2026 |
| 2026.1.2.111 | 51 | 10/4/2026 |
| 2026.1.2.110 | 50 | 10/4/2026 |
| 2026.1.2.109 | 63 | 10/1/2026 |
| 2026.1.2.108 | 62 | 9/30/2026 |