Novolis.Rendering.Testing 2026.1.1.72

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

Novolis

Novolis · Docs · Source

Novolis.Rendering.Testing

Golden framebuffer hashing helpers for headless render tests — SHA-256 digests over raw RGBA bytes with no native window required.

Install

dotnet add package Novolis.Rendering.Testing

Prerequisites: .NET 10 SDK (net10.0), Novolis.Rendering.Presentation.Abstractions.

Quick start — pixel span

using Novolis.Rendering.Testing;

backend.Output.TryGetCpuPixels(out var pixels, out _, out _);
var hash = FramebufferGoldenAssert.Sha256Hex(pixels);
Assert.Equal(expectedHash, hash);

Quick start — render output

var hash = FramebufferGoldenAssert.Sha256Hex(backend.Output);

Use CpuRayTracingBackend(deterministic: true) from Novolis.Rendering.Backends.Cpu for stable golden values across runs.

Commit expected digests as lowercase hex strings; update intentionally when shading or sampling changes.

API

Type Role
FramebufferGoldenAssert Sha256Hex(ReadOnlySpan<Rgba32>), Sha256Hex(IRenderOutput)

Returns lowercase hex SHA-256 over row-major RGBA bytes (R, G, B, A per pixel). Throws InvalidOperationException when IRenderOutput has no CPU pixels.

Dogfooding / apps

Used by backend unit tests (Novolis.Rendering.Backends.Cpu.Tests) for regression checks without GPU drivers or window hosts.

Support

Pre-release platform library. Store expected digests in test data; re-run with deterministic: true when updating goldens.

Works with any backend that exposes CPU pixels via IRenderOutput.

Pair with DemoSceneFactory.UnitCubeRoom() for a minimal golden scene.

No image decoding — hashes raw RGBA bytes only.

Package Role
Novolis.Rendering.Backends.Cpu Deterministic CPU backend for goldens
Novolis.Rendering.Presentation.Abstractions IRenderOutput, ImageBufferRenderOutput
Novolis.Rendering.Compile Build scenes under test

More documentation

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.1.1.72 0 10/4/2026
2026.1.1.71 41 10/1/2026
2026.1.1.70 42 9/30/2026