Aardworx.Rendering.WebGL 1.2.7

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aardworx.Rendering.WebGL --version 1.2.7
                    
NuGet\Install-Package Aardworx.Rendering.WebGL -Version 1.2.7
                    
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="Aardworx.Rendering.WebGL" Version="1.2.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aardworx.Rendering.WebGL" Version="1.2.7" />
                    
Directory.Packages.props
<PackageReference Include="Aardworx.Rendering.WebGL" />
                    
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 Aardworx.Rendering.WebGL --version 1.2.7
                    
#r "nuget: Aardworx.Rendering.WebGL, 1.2.7"
                    
#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 Aardworx.Rendering.WebGL@1.2.7
                    
#: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=Aardworx.Rendering.WebGL&version=1.2.7
                    
Install as a Cake Addin
#tool nuget:?package=Aardworx.Rendering.WebGL&version=1.2.7
                    
Install as a Cake Tool

WebAssembly libraries for Aardvark

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Aardworx.Rendering.WebGL:

Package Downloads
Aardworx.WebAssembly.Dom

WebAssembly libraries for Aardvark

Aardworx.WebAssembly.WebXR

WebAssembly libraries for Aardvark

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.8 108 5/20/2026
1.2.7 196 5/18/2026
1.2.6 198 4/28/2026
1.2.5 183 4/26/2026
1.2.4 182 4/26/2026
1.2.3 189 4/26/2026
1.2.2 181 4/26/2026
1.2.1 178 4/25/2026
1.2.0 182 4/25/2026
1.1.14 402 11/6/2025
1.1.13 327 10/22/2025
1.1.12 347 10/16/2025
1.1.11 350 2/22/2025
1.1.10 336 10/21/2024
1.1.9 364 10/19/2024
1.1.8 358 10/1/2024
1.1.7 358 5/13/2024
1.1.6 335 9/27/2023
1.1.5 375 9/27/2023
1.1.4 302 9/25/2023
Loading failed

the WebGL canvas now honors `window.devicePixelRatio` by default — the backbuffer is sized as `round(cssSize * devicePixelRatio)` instead of `round(cssSize)`. Previously every swap chain (FXAA / Simple / MSAA) hardcoded a 1.0 ratio, so HiDPI / Retina displays (iPhone DPR=3, MacBook Retina DPR=2) got a CSS-pixel backbuffer that the browser then upscaled — visibly blurry. Fix is at the swap-chain level so it applies to every consumer of `WebGLApplication.CreateRenderControl`.
added `WebGLSwapChain.PixelRatio : option<float>` (and `EffectivePixelRatio` for the actual value used) plus a matching `WebGLRenderControl.PixelRatio` property. `None` (the default) uses `Window.DevicePixelRatio`. `Some 1.0` opts out of HiDPI scaling and renders at CSS resolution. `Some r` for any other override. Setter invalidates the control so the change takes effect on the next frame; the resize-checker also reads through `EffectivePixelRatio` so DPR changes (window moved between monitors) are picked up.
exposed the knob on the Aardvark.Dom surface as `RenderControl.PixelRatio(ratio : float)` — emits a `data-pixel-ratio` attribute on the parent div; `Aardworx.WebAssembly.Dom.Boot.SetupRenderer` reads it once at init and applies it to `ctrl.PixelRatio`. Omit the attribute for the full-res default.
picked up Aardvark.Dom 1.1.8.