Panda3D.Framework.Hosting
0.1.0-preview.13
dotnet add package Panda3D.Framework.Hosting --version 0.1.0-preview.13
NuGet\Install-Package Panda3D.Framework.Hosting -Version 0.1.0-preview.13
<PackageReference Include="Panda3D.Framework.Hosting" Version="0.1.0-preview.13" />
<PackageVersion Include="Panda3D.Framework.Hosting" Version="0.1.0-preview.13" />
<PackageReference Include="Panda3D.Framework.Hosting" />
paket add Panda3D.Framework.Hosting --version 0.1.0-preview.13
#r "nuget: Panda3D.Framework.Hosting, 0.1.0-preview.13"
#:package Panda3D.Framework.Hosting@0.1.0-preview.13
#addin nuget:?package=Panda3D.Framework.Hosting&version=0.1.0-preview.13&prerelease
#tool nuget:?package=Panda3D.Framework.Hosting&version=0.1.0-preview.13&prerelease
Panda3D.Framework.Hosting
Owns the application lifecycle and the frame loop. Provides the ASP.NET-style GameApplication (builder → Build → Run) whose core pump does only taskManager.Poll(); rendering, input, and gameplay compose into the frame as native sorted tasks (ordered by FrameSlots). Replaces direct's ShowBase.run() — the app is composed, not subclassed.
Provides
GameApplication—CreateBuilder(args),Services,Run()(pumpsPoll()on the calling thread until shutdown).IGameApplicationBuilder—Services,Configuration,Build().IBootstrap— the app's entry coroutine (RunAsync), spawned at the gameplay slot right after the host starts.AddBootstrap<T>()/AddBootstrap(Func<IServiceProvider, PandaTask>)/AddBootstrap(Delegate)— register the entry coroutine (typed, delegate, or minimal-API-style injected parameters).AddSceneManager()— registersISceneManager, the world-root service (arenderroot + named independent roots).
var builder = GameApplication.CreateBuilder(args);
builder.Services.AddSceneManager();
builder.Services.AddClock(); // Panda3D.Framework.Scheduling
builder.Services.AddScheduler(); // Panda3D.Framework.Scheduling
builder.Services.AddBootstrap(async (IGameClock clock, IHostApplicationLifetime life) =>
{
for (int i = 0; i < 60; i++) await PandaTask.NextFrame();
life.StopApplication();
});
builder.Build().Run();
Depends on Microsoft.Extensions.Hosting (configuration, logging, options, IHostApplicationLifetime, IHostedService) and on Panda3D.Framework.Scheduling. Setup-time native sorted tasks are registered with AddFrameTask(name, sort, …) and the gameplay-facing IFrameScheduler — both from the Scheduling package.
Part of Panda3D.Framework; the Panda3D.Framework umbrella package pulls in every library plus the bindings and native runtimes.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- Microsoft.Extensions.Hosting (>= 8.0.1)
- Panda3D.Async (>= 1.11.0-preview.6)
- Panda3D.Framework.Abstractions (>= 0.1.0-preview.13)
- Panda3D.Framework.Scheduling (>= 0.1.0-preview.13)
- Panda3D.Interop (>= 1.11.0-preview.4122)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Panda3D.Framework.Hosting:
| Package | Downloads |
|---|---|
|
Panda3D.Framework
The complete Panda3D.Framework: every feature library, the C# bindings, and the native runtimes. Reference this one package to build and run a game. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.13 | 74 | 8/3/2026 |
| 0.1.0-preview.11 | 77 | 8/1/2026 |
| 0.1.0-preview.5 | 73 | 7/20/2026 |