Novolis.Raylib.Capture
2026.1.2.108
See the version list below for details.
dotnet add package Novolis.Raylib.Capture --version 2026.1.2.108
NuGet\Install-Package Novolis.Raylib.Capture -Version 2026.1.2.108
<PackageReference Include="Novolis.Raylib.Capture" Version="2026.1.2.108" />
<PackageVersion Include="Novolis.Raylib.Capture" Version="2026.1.2.108" />
<PackageReference Include="Novolis.Raylib.Capture" />
paket add Novolis.Raylib.Capture --version 2026.1.2.108
#r "nuget: Novolis.Raylib.Capture, 2026.1.2.108"
#:package Novolis.Raylib.Capture@2026.1.2.108
#addin nuget:?package=Novolis.Raylib.Capture&version=2026.1.2.108
#tool nuget:?package=Novolis.Raylib.Capture&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.Capture
Optional per-frame framebuffer streaming for apps using Novolis.Raylib. Not included in the meta package — add explicitly when you need capture.
Install
dotnet add package Novolis.Raylib
dotnet add package Novolis.Raylib.Capture
Quick start
Call only while a raylib window is active and on the render thread (inside your frame loop, after drawing):
using Novolis.Raylib.Capture;
var options = new CaptureStreamOptions { CaptureEveryNFrames = 1, MaxBufferedFrames = 64 };
using var session = new FrameCaptureSession(options);
// ... your game loop ...
while (session.Reader?.TryRead(out var frame) == true)
await File.WriteAllBytesAsync($"frame_{frame.FrameIndex:D4}.png", frame.Png);
API
| Type | Role |
|---|---|
CaptureStreamOptions |
CaptureEveryNFrames, MaxBufferedFrames |
CapturedFrame |
FrameIndex, Width, Height, Png, Elapsed |
FrameCaptureSession |
Reader; implements IDisposable |
FrameCapturePipeline |
Static Start/Stop for global hook |
RaylibCaptureRuntimeState |
IsStreamingActive, Enter(options) scope |
Capture hooks presentation after Graphics.EndDrawing (zero cost when no session is active).
Related
| Package | When to use |
|---|---|
Novolis.Raylib.Testing |
Golden image tests (references Capture transitively) |
Novolis.Raylib.Runtime |
Shell loop and draw hooks |
| 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
- Novolis.Raylib.Runtime (>= 2026.1.2.108)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Novolis.Raylib.Capture:
| Package | Downloads |
|---|---|
|
Novolis.Raylib.Testing
Offscreen raylib test harness and debug helpers (optional; for test projects only). |
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 | 45 | 10/4/2026 |
| 2026.1.2.110 | 39 | 10/4/2026 |
| 2026.1.2.109 | 51 | 10/1/2026 |
| 2026.1.2.108 | 51 | 9/30/2026 |