OpenTK v4.7.2 Release Notes

    • ๐Ÿ’ฅ BREAKING: Fixed issue where the QuaternionD(double, double, double) ctor produced the wrong quaternion. It now produces the same quaternion as Quaterion(float, float, float). (@NogginBops)

    • ๐Ÿ’ฅ BREAKING: Fixed QuaterionD.ToEulerAngles to now produce the correct result. It now matches the result from Quaterion.ToEulerAngles. (@NogginBops)

    • ๐Ÿ—„ API: Deprecated NativeWindow.CursorVisible and NativeWindow.CursorGrabbed in favor of a unified NativeWindow.CursorState that disallows invalid combinations. (@NogginBops)

    • ๐Ÿ API: Added NativeWindowSettings.SrgbCapable to be able to create a default framebuffer with sRGB capabilities. (@NogginBops)

    • API: Added glfw native access funtions added in glfw 3.1. (@NogginBops)

    • ๐Ÿ API: Added MinimumSize and MaximumSize properties to NativeWindow and NativeWindowSettings. (@toasty1307)

    • API: Added NativeWindow.ProcessWindowEvents static function for processing events manually. Prefer this function (with NativeWindow.ProcessInputEvents) in a multi-window setup. (@NogginBops)

    • โšก๏ธ API: Exposed NativeWindow.ProcessInputEvents() so multi-window setups can update input state of all windows before handling events (using NativeWindow.ProcessWindowEvents). (@NogginBops)

    • API: Added a proper "main thread" check for glfw. To turn this off, GLFWProvider.CheckForMainThread can be set to false. (@NogginBops)

    • API: Added all missing enums to SizedInternalFormat. (@NogginBops)

    • API: Added TextureCubeMapArray to TextureTarget3d. (@NogginBops)

    • API: Added ParameterBuffer to BufferTarget. (@NogginBops)

    • API: Added overloads to MultiDrawElementsIndirectCount that takes the proper DrawElementsType enum as an argument. (@NogginBops)

    • API: Added overloads to VertexAttribIFormat and VertexAttribLFormat that take VertexAttribIntegerType and VertexAttributeDoubleType respectively. (@BoyBaykiller)

    • API: Added bindings for NV_mesh_shader, NV_shading_rate, NV_primitive_shading_rate, NV_representative_fragment_test and NV_scissor_exclusive extensions. (@BoyBaykiller)

    • API: Enums should now be documented with their minimum version or extension requirements. These are not guaranteed to be 100% accurate but should mostly correct. (@NogginBops)

    • API: Added RawMouseMotionAttribute enum, to be able to control raw mouse motion from GLFW.

    • ๐Ÿ›  Fix issue where limiting framerate would cause issues with input functions like JoystickState.WasButtonPressed whould have an incorrect value (@NogginBops).

    • โšก๏ธ Updated GLFW to 3.3.7. This should fix an issue where UTF-16 code points where sent to OnTextInput causing it to crash. (@NogginBops, @g7ChoGXh)

    • โšก๏ธ If the update loop gets too far behind it no longer tries to make up for lost time. This was typically caused by resizing the window, and or closing the lid of a laptop. (@daerogami)

    • ๐Ÿ“ฆ OpenTK no longer put an upper limit on the System.Runtime.CompilerServices.Unsafe package. (@NogginBops)

    • ๐Ÿ›  Fixed so NativeWindowSettings.DepthBits and NativeWindowSettings.StencilBits actually affect the resulting backbuffer format. (@NogginBops)

    • ๐Ÿ›  Fixed an issue in Box3i.Contains(Vector3i) where one of the comparisons where wrong, causing incorrect results. (@BlakkM9)

    • ๐Ÿ›  Fixed an issue where Vector3i.ComponentMin returned one of the input arguments instead of the proper result. (@Oribow)

    • ๐Ÿ›  Fixed OpenAL Buffer(int, BufferLoopPoint, ReadOnlySpan<int>) overload to no longer crash. (@NogginBops)