Broiler.Native.Windows
0.1.0-preview.7
See the version list below for details.
dotnet add package Broiler.Native.Windows --version 0.1.0-preview.7
NuGet\Install-Package Broiler.Native.Windows -Version 0.1.0-preview.7
<PackageReference Include="Broiler.Native.Windows" Version="0.1.0-preview.7" />
<PackageVersion Include="Broiler.Native.Windows" Version="0.1.0-preview.7" />
<PackageReference Include="Broiler.Native.Windows" />
paket add Broiler.Native.Windows --version 0.1.0-preview.7
#r "nuget: Broiler.Native.Windows, 0.1.0-preview.7"
#:package Broiler.Native.Windows@0.1.0-preview.7
#addin nuget:?package=Broiler.Native.Windows&version=0.1.0-preview.7&prerelease
#tool nuget:?package=Broiler.Native.Windows&version=0.1.0-preview.7&prerelease
Broiler.Native
Shared native API bindings for Broiler.Graphics, Broiler.Input, and Broiler.Media.
The component owns native entry points, ABI structures, constants, COM contracts,
function delegates, and library probing. It has no dependency on those consumers.
Packages
| Package | Target | Description |
|---|---|---|
Broiler.Native |
Any (net10.0) |
Lightweight core with NativeLibraryProbe for non-throwing library probing. Zero external dependencies. |
Broiler.Native.Windows |
Windows (net10.0) |
Win32 windowing, performance counters, Raw Input, DirectX (D2D, DWrite, DXGI, D3D11), WIC, WASAPI, Media Foundation. |
Broiler.Native.Linux |
Linux (net10.0) |
libc/evdev input, poll, X11, EGL/OpenGL dynamic loading and driver queries, Vulkan device enumeration. |
Broiler.Native.Android |
Android (net10.0) |
EGL, OpenGL ES 2.0 / 3.0, ANativeWindow, and assembly-scoped dynamic soname resolver. |
Broiler.Native.All |
Any (net10.0) |
Convenience meta-package referencing all platform packages for multi-target or cross-platform codebases. |
All projects target net10.0 and are annotated with <IsAotCompatible>true</IsAotCompatible>.
A reference to a platform package does not eagerly load its native libraries; call platform APIs only on a compatible host with the required libraries installed.
Quickstart for Consumers
Install packages via NuGet:
dotnet add package Broiler.Native.Windows
# or for multi-platform projects:
dotnet add package Broiler.Native.All
Probing Library Availability
using Broiler.Native;
if (OperatingSystem.IsWindows() && NativeLibraryProbe.IsAvailable("d2d1.dll"))
{
// Direct2D is available
}
High-Precision Timing
using Broiler.Native.Windows;
PerformanceCounterNative.QueryPerformanceFrequency(out long frequency);
PerformanceCounterNative.QueryPerformanceCounter(out long start);
// ... work ...
PerformanceCounterNative.QueryPerformanceCounter(out long end);
double elapsedSeconds = (double)(end - start) / frequency;
For complete consumer documentation, platform requirements, and detailed subsystem examples, see the End-User and Consumer Guide.
Developer Quickstart
Requires the .NET 10 SDK, Node.js 24, and PowerShell 7 (or Windows PowerShell).
# Build solution
dotnet build Broiler.Native.slnx -c Release
# Run test suite
dotnet run --project src/tests/Broiler.Native.Tests -c Release --no-build
# or: bash ./eng/run-tests.sh Release
# Test version resolution engine
node --test eng/resolve-preview-version.test.mjs
# Pack and verify shipping packages locally
pwsh -File eng/pack.ps1 -Configuration Release
# Verify consumer restoration against NuGet.org
pwsh -File eng/verify-feed.ps1 -Packages artifacts
For guidelines on authoring bindings, COM interfaces under NativeAOT, struct layout verification, and release workflows, see the Developer and Contributor Guide.
Documentation Index
- End-User and Consumer Guide: Package selection, host prerequisites, probing patterns, subsystem guides, and code examples.
- Developer and Contributor Guide: Architecture scope, development setup, building, testing, binding conventions, and packaging.
- CI, Packages, and Releases: Preview version calculation, feed rules, packaging validation, and NuGet.org release workflow.
- Architecture Decision Record: 0001 Native API Ownership: Decision context and rationale for native API extraction.
- Native API Extraction Inventory: Mapping of extracted types from legacy sibling components.
- Roadmap: Current implementation status and milestones.
License
Licensed under Apache-2.0.
| 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
- Broiler.Native (>= 0.1.0-preview.7)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on Broiler.Native.Windows:
| Package | Downloads |
|---|---|
|
Broiler.Media.Image.Managed
Managed, cross-platform image codec implementation for Broiler.Media.Image. |
|
|
Broiler.Graphics.Windows
Windows Direct2D/DirectWrite backend for Broiler.Graphics, with window and input integration and an HWND-backed video presentation target. |
|
|
Broiler.Hosting.Windows
Windows desktop hosting, clipboard, window sizing, appearance, input bridge, and accessibility provider for Broiler platform applications. |
|
|
Broiler.Input.Windows
Shared Windows host, clock, and native lifetime support for Broiler input providers. |
|
|
Broiler.Input.Keyboard.Windows
Windows keyboard input provider and message translator for Broiler. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.8 | 0 | 10/11/2026 |
| 0.1.0-preview.7 | 255 | 10/4/2026 |
| 0.1.0-preview.6 | 919 | 9/24/2026 |
| 0.1.0-preview.5 | 1,782 | 9/22/2026 |
| 0.1.0-preview.3 | 512 | 9/22/2026 |