glfw-net 3.3.0

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package glfw-net -Version 3.3.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.
dotnet add package glfw-net --version 3.3.0
<PackageReference Include="glfw-net" Version="3.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add glfw-net --version 3.3.0
#r "nuget: glfw-net, 3.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install glfw-net as a Cake Addin
#addin nuget:?package=glfw-net&version=3.3.0

// Install glfw-net as a Cake Tool
#tool nuget:?package=glfw-net&version=3.3.0

GLFW.NET Version 3.3 Changes

  • Added support for GLFW 3.3 (Released April 15, 2019)
  • Implemented new versioning system to keep with the supported native GLFW version
    • Major and minor parts will match the supported native library
    • Revision major and revision minor parts will indicate changes to the bindings

Types/Classes/Structs

  • Added GamePadState struct
  • Added WindowContentsScaleCallback delegate
  • Added WindowMaximizedCallback delegate
  • Added MaximizeEventArgs class
  • Added ContentScaleEventArgs class

Enums/Constants

  • Added ErrorCode.None
  • Deprecated ErrorCode.Unknown
  • Added Hint.JoystickHatButtons
  • Added Hint.CocoaChDirResources
  • Added Hint.CocoaMenuBar
  • Added Hint.CenterCursor
  • Added Hint.TransparentFramebuffer
  • Added Hint.FocusOnShow
  • Added Hint.ScaleToMonitor
  • Added Hint.CocoaRetinaFrameBuffer
  • Added Hint.CocoaFrameName
  • Added Hint.CocoaGraphicsSwitching
  • Added Hint.X11InstanceName
  • Added Hint.X11ClassName
  • Added ContextApi.Mesa
  • Added Hat enum
    • Centered
    • Up
    • Right
    • Down
    • Left
    • RightUp
    • RightDown
    • LeftUp
    • LeftDown
  • Added ModiferKeys.CapsLock
  • Added ModiferKeys.NumLock
  • Added GamePadButtons enum
    • A
    • B
    • X
    • Y
    • LeftBumper
    • RightBumper
    • Back
    • Start
    • Guide
    • LeftThumb
    • RightThumb
    • DpadUp
    • DpadRight
    • DpadDown
    • DpadLeft
    • Cross
    • Circle
    • Square
    • Triangle
  • Added GamePadAxis enum
    • LeftX
    • LeftY
    • RightX
    • RightY
    • LeftTrigger
    • RightTrigger
  • Added WindowAttribute.MouseHover
  • Added InputMode.LockKeyMods
  • Added InputMode.RawMouseMotion

Functions/Properties

Static Glfw Class
  • Added Glfw.InitHint
  • Added Glfw.GetError
  • Added Glfw.GetMonitorWorkArea
  • Added Glfw.GetMonitorContentScale
  • Added Glfw.GetMonitorUserPointer
  • Added Glfw.SetMonitorUserPointer
  • Added Glfw.GetWindowOpacity
  • Added Glfw.SetWindowOpacity
  • Added Glfw.WindowHintString
  • Added Glfw.GetWindowContentScale
  • Added Glfw.RequestWindowAttention
  • Added Glfw.RawMouseMotionSupported
  • Added Glfw.SetWindowMaximizeCallback
  • Added Glfw.SetWindowContentScaleCallback
  • Added Glfw.GetKeyScanCode
  • Added Glfw.SetWindowAttribute
  • Added Glfw.GetJoyStickHats
  • Added Glfw.GetJoystickGuid
  • Added Glfw.GetJoystickUserPointer
  • Added Glfw.SetJoystickUserPointer
  • Added Glfw.JoystickIsGamepad
  • Added Glfw.UpdateGamepadMappings
  • Added Glfw.GetGamepadName
  • Added Glfw.wGetGamepadState
Objects
  • Added Monitor.WorkArea
  • Added Monitor.ContentScale
  • Added Monitor.UserPointer
  • Added GameWindow.Opacity
  • Added GameWindow.ContentScale
  • Added GameWindow.RequestAttention
  • Added GameWindow.MaximizeChanged
  • Added GameWindow.OnMaximize
  • Added GameWindow.ContentScaleChanged
  • Added `GameWindow.OnContentScaleChanged
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on glfw-net:

Package Downloads
GLFW.NET.Natives

This package contains all you need for a working GLFW.NET environement with .NET Core. This is multiplatform implementation (64bits) for Linux, macOS and Windows.

Yagl.Input

Project YAGL. Classes to handle input from keyboard, mouse and joysticks.

Yagl.Windowing

Project YAGL. Basic cross-platform window for drawing graphics.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.3.1 22,514 6/6/2019
3.3.0 1,808 4/29/2019
1.0.4 420 4/7/2019
1.0.3 636 10/11/2018
1.0.2 595 10/10/2018
1.0.0 763 6/12/2018

- Implemented new GLFW 3.3 features
- Large refactorings
- Code improvements