CodeBrix.Platform.OpenGL.MitLicenseForever 1.0.209.135

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

CodeBrix.Platform.OpenGL

A fully managed, cross-platform OpenGL bindings library for .NET 10. CodeBrix.Platform.OpenGL is a port of the Silk.NET.OpenGL v2.23.0 NuGet package and its immediate dependencies (Silk.NET.Core and Silk.NET.Maths), adapted to target net10.0 exclusively and to build without the Silk.NET.SilkTouch Roslyn source generator — the P/Invoke method bodies that SilkTouch emits at build time in the upstream project are pre-captured and committed into this repository as static source.

CodeBrix.Platform.OpenGL is provided as a .NET 10 library and associated CodeBrix.Platform.OpenGL.MitLicenseForever NuGet package.

CodeBrix.Platform.OpenGL supports applications and assemblies that target Microsoft .NET version 10.0 and later. Microsoft .NET version 10.0 is a Long-Term Supported (LTS) version of .NET, and was released on Nov 11, 2025; and will be actively supported by Microsoft until Nov 14, 2028. Please update your C#/.NET code and projects to the latest LTS version of Microsoft .NET.

CodeBrix.Platform.OpenGL supports:

  • The full OpenGL Core-profile surface emitted by the Silk.NET.OpenGL v2.23.0 bindings (~3,680 entry points)
  • Function-pointer-based P/Invoke dispatch (delegate* unmanaged[Stdcall|Cdecl]<...>) for zero-allocation native calls
  • Runtime calling-convention selection (Stdcall on Windows, Cdecl elsewhere)
  • Cross-platform native-library resolution via the ported Silk.NET.Core loader
  • Porting of the Silk.NET.Maths vector / matrix / scalar types used throughout OpenGL signatures
  • .NET 10-native System.Half (no Ultz.Bcl.Half polyfill dependency)

Port status

This is a work-in-progress port. See AGENT-README.txt for the current state and THIRD-PARTY-NOTICES.txt for upstream attribution.

Sample Code

Create a GL instance against an IGLContext (once the port stabilizes)

using CodeBrix.Platform.OpenGL;
using CodeBrix.Platform.OpenGL.Core.Contexts;

IGLContext context = /* obtained from GLFW / SDL / your windowing layer */;
GL gl = GL.GetApi(context);
gl.ClearColor(0.2f, 0.3f, 0.4f, 1.0f);
gl.Clear((uint)ClearBufferMask.ColorBufferBit);

License

The project is licensed under the MIT License. see: https://en.wikipedia.org/wiki/MIT_License

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 (1)

Showing the top 1 NuGet packages that depend on CodeBrix.Platform.OpenGL.MitLicenseForever:

Package Downloads
CodeBrix.Platform.Graphics3DGL.ApacheLicenseForever

3D graphics extensions (OpenGL) for CodeBrix.Platform applications — provides the GLCanvasElement XAML element.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.209.135 71 7/28/2026
1.0.165.1357 356 6/14/2026
1.0.117 114 4/29/2026