Moderngl

Latest version: v5.10.0

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

Scan your dependencies

Page 9 of 17

4.1.2

Added
- Read any color attachments of the Framebuffer
- Framebuffer, Buffer, BufferAccess and Texture `read_into` method
- `__slots__` for ModernGL classes
- Framebuffer read different color attachments
- Tkinter connector for windows using ctypes

Fixed
- Multiple render targets
- Non-float Renderbuffers are not readable
- Buffer `read` keyword only `offset` argument

Changes
- `Context.renderbuffer` will use `floats=False` by default
- `bind_to_uniform_block` `location` parameter was renamed to `binding`
- `bind_to_storage_buffer` `location` parameter was renamed to `binding`

4.1.1

Added
- UniformBlock `binding` and `size` attribute.
- Framebuffer `width`, `height` and `samples` attribute.
- Texture `swizzle` attribute.
- Context `error` attribute.
- OpenGL objects as `glo` attributes.
- Buffer `clear()` method.
- Missing `release()` methods.
- Iterable program member maps.
- Human readable program members.
- Pixel pack and unpack alignments.
- Subroutines.

Removed
- UniformBlock `array_size` and `location` attribute.
- VertexArrayAttribute `default` attribute.

Fixed
- BufferAccess unused `offset` parameter.
- Binding buffer to a UniformBlock.
- Broken RTD docs.

4.1.0

Added
- Exception handling when importing the implementation.
- Standalone context on **linux** and **mac** with fallback mechanism.
- Require version at context creation.
- Context `version_code` property.
- Framebuffer `clear()` method.

Changed
- Context `clear()` method accepts floats.

Removed
- Required `-std=c++11` for **linux** and **mac**.
- ModernGL `VERSION` constant.

Fixed
- `Framebuffer` and `Texture` can have uninitialized x, y values.
- Uniform setters

4.0.0

Added
- Full linting support
- Restructure docs
- Examples in docs
- pep8 style
- VSCode snippets
- Changelog

Changed
- Wrap the C/C++ module with a pure python module
- Rename internal module to avoid ambiguosity
- Rename class like members from the Context class

3.1.5

- support mac
- bugfixes

3.1.4

Page 9 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.