GLCs 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package GLCs --version 0.1.0
NuGet\Install-Package GLCs -Version 0.1.0
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="GLCs" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GLCs --version 0.1.0
#r "nuget: GLCs, 0.1.0"
#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.
// Install GLCs as a Cake Addin
#addin nuget:?package=GLCs&version=0.1.0

// Install GLCs as a Cake Tool
#tool nuget:?package=GLCs&version=0.1.0

GLCs

OpenGL bindings for C#.

Now include:

  • GLFW 3.3.2
  • OpenGL 1.1

How to Use

  1. Add package to your project:

    dotnet add package GLCs
    
  2. Use it just like GLCs_test.

Note: Required glfw3.dll and opengl32.dll.

The all classes are under GLCs namespace.

The GL class includes all functions (1.1) in glew.h.

The GLFW class

Includes all funtions in glfw3.h.

Nullable Types

Mark a method may return "NULL" in C, or mark a param can be "NULL" in C.

[Nullable] type[] param:

void themethod([Nullable] ref type[] param) { }
void othermethod()
{
    type[] a = {};
    themethod(ref a);
}

[Nullable] aDelegate param:

delegate void aDelegate();
void themethod([Nullable] ref aDelegate param) { }
void othermethod()
{
    themethod(null);
}

[Nullable] IntPtr param:

void themethod([Nullable] IntPtr param) { }
void othermethod()
{
    themethod(IntPtr.Zero);
}

Plans

Time Support to OpenGL...
2021-02-15 1.2 ~ 1.5
2021-03-20 2.0
2021-03-27 2.1
2021-04-17 3.0 & 3.1
2020-04-24 3.2
2020-05-01 3.3 & 4.0
2020-05-10 4.5 & 4.6
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

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
0.3.0 398 4/11/2021
0.2.0 317 4/10/2021
0.1.0 306 2/14/2021