GLFW 3.3
GLFW.NET Version 3.3 Changes
Breaking Changes
-
The
GameWindow
class is nowNativeWindow
, and moved toGLFW
namespace to more accurately represent what it is, as GLFW is used for other purposes other than games. -
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
enumCentered
Up
Right
Down
Left
RightUp
RightDown
LeftUp
LeftDown
- Added
ModiferKeys.CapsLock
- Added
ModiferKeys.NumLock
- Added
GamePadButtons
enumA
B
X
Y
LeftBumper
RightBumper
Back
Start
Guide
LeftThumb
RightThumb
DpadUp
DpadRight
DpadDown
DpadLeft
Cross
Circle
Square
Triangle
- Added
GamePadAxis
enumLeftX
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