Moderngl-window

Latest version: v2.4.6

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

2.4.6

* Includes in shaders with quoted paths are now supported
* Renamed incorrect base window method name. `filed_dropped` -> `file_dropped_event`
* Added size setters for headless window
* Added visible setter for all windows
* TextWriter2D should now take viewport size into account
* Loosened up some requirements

2.4.5

* Reorganized the project using pyproject.toml
* Upgraded docs dependencies

2.4.4

* Added `--backend` option to specify context backend.
This is mostly for the headless window to enable EGL.
* Window now has a ``backend`` property containing the name of the context backend
* Window now has a ``headless`` boolean property to check if the window is headless.
This is useful for adding headless only paths in your code.
* Added stencil bits to window framebuffers by default

2.4.3

* Fix compatibility with moderngl 5.8.x
* Camera now has keymap support (QWERTY, AZERTY etc)

2.4.2

* Allow toggling vsync and runtime for most windows
* Allow rendering with imgui in headless mode
* Fixed a crash when using fullscreen mode with glfw
* Support moving OrbitCamera
* Added SSAO example
* Added `on_generic_event` callback for pygame user events
* Fixed zoom sensitivity getter returning the wrong value
* Fixed several typos
* Bumped several dependencies to reasonable versions

Thanks to Rafale25, n3onUser, erikstrand (Erik Strand),
sheepman4267 and dbs4261 (Daniel Simon) for contributions to this release.

2.4.1

* Experimental support for ffmpeg capture
* Event callbacks can now be assigned in WindowConfig.__init__
* Initial support for confirming window close (glfw)
* Fixed a crash when closing a pyglet window
* Remove some spammy prints in the text writer

Thanks to DavideRuzza, wk39 and joehalliwell for their
contributions to this release.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.