Aardworx.WebAssembly
1.2.4
See the version list below for details.
dotnet add package Aardworx.WebAssembly --version 1.2.4
NuGet\Install-Package Aardworx.WebAssembly -Version 1.2.4
<PackageReference Include="Aardworx.WebAssembly" Version="1.2.4" />
<PackageVersion Include="Aardworx.WebAssembly" Version="1.2.4" />
<PackageReference Include="Aardworx.WebAssembly" />
paket add Aardworx.WebAssembly --version 1.2.4
#r "nuget: Aardworx.WebAssembly, 1.2.4"
#:package Aardworx.WebAssembly@1.2.4
#addin nuget:?package=Aardworx.WebAssembly&version=1.2.4
#tool nuget:?package=Aardworx.WebAssembly&version=1.2.4
WebXR utilities for Aardvark
| 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. |
-
- Aardvark.Application (>= 5.6.4 && < 5.7.0)
- Aardvark.Base (>= 5.3.21 && < 5.4.0)
- Aardvark.Base.FSharp (>= 5.3.21 && < 5.4.0)
- Aardvark.Dom.Core (>= 1.1.0 && < 1.2.0)
- Aardworx.AsyncPrimitives (= 1.2.4)
- FSharp.Core (>= 8.0.300)
- FSharp.Data.Adaptive (>= 1.2.26 && < 1.3.0)
- Microsoft.AspNetCore.Components.WebAssembly (>= 8.0.26 && < 8.1.0)
- Microsoft.AspNetCore.Components.WebAssembly.DevServer (>= 8.0.26 && < 8.1.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Aardworx.WebAssembly:
| Package | Downloads |
|---|---|
|
Aardworx.Rendering.WebGL
WebAssembly libraries for Aardvark |
|
|
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 | 97 | 5/20/2026 |
| 1.2.7 | 227 | 5/18/2026 |
| 1.2.6 | 235 | 4/28/2026 |
| 1.2.5 | 212 | 4/26/2026 |
| 1.2.4 | 219 | 4/26/2026 |
| 1.2.3 | 225 | 4/26/2026 |
| 1.2.2 | 225 | 4/26/2026 |
| 1.2.1 | 213 | 4/25/2026 |
| 1.2.0 | 217 | 4/25/2026 |
| 1.1.14 | 422 | 11/6/2025 |
| 1.1.13 | 356 | 10/22/2025 |
| 1.1.12 | 369 | 10/16/2025 |
| 1.1.11 | 385 | 2/22/2025 |
| 1.1.10 | 363 | 10/21/2024 |
| 1.1.9 | 407 | 10/19/2024 |
| 1.1.8 | 363 | 10/1/2024 |
| 1.1.7 | 407 | 5/13/2024 |
| 1.1.6 | 376 | 9/27/2023 |
| 1.1.5 | 433 | 9/27/2023 |
| 1.1.4 | 362 | 9/25/2023 |
implemented several `IRuntime` members that were previously `NotImplementedException` stubs:
- `Clear(IBackendTexture, ClearValues)` — attaches the texture to a temporary FBO and routes through the right `glClearBuffer*` family (integer vs float color, depth-only vs depth+stencil). Mirrors the Aardvark GL backend's contract: clears level 0 / slice 0.
- `Copy(IBackendTexture, ...)` with explicit slice/level ranges — iterates per (slice, level) and reuses the existing single-image `BlitFramebuffer` path. WebGL2 has no `glCopyImageSubData`, so per-image FBO blit is the only option.
- `DownloadAsync(IBackendBuffer, ...)` — performs the download eagerly (WebGL is single-threaded JS — no meaningful async path) and returns a no-op thunk that satisfies the `unit -> unit` waiter contract.
- `CreateOcclusionQuery(precise)` — wraps WebGL2's `ANY_SAMPLES_PASSED{,_CONSERVATIVE}` query target. `IsPrecise` returns `false` regardless because WebGL2 does not expose `SAMPLES_PASSED` (the exact sample count) — only the boolean any-samples-passed variants.
- `CreateTimeQuery()` — wraps `GL_EXT_disjoint_timer_query_webgl2` `TIME_ELAPSED`. Throws if the extension isn't supported by the current context (common on iOS Safari and some Linux drivers; check `device.Info.Features.TimerQuery` first).
added tests covering each: `texture clear (color)`, `texture copy (slice/level)`, `buffer downloadAsync`, `occlusion query`, `time query` (auto-skipped when the GPU lacks the timer extension).