Moderngl

Latest version: v5.10.0

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

Scan your dependencies

Page 8 of 17

4.1.8

Added
- 3D texture support (`Texture3D` class and Context `texture3d` method)
- Context `max_integer_samples` attribute
- Fallback display for linux

Removed
- Unused texture's `read` method's `viewport` parameter

Fixed
- Broken framebuffer `color_attachments` attribute
- Segmentation fault when creating a texture using string data by mistake
- Validate Renderbuffer and Texture samples

4.1.7

Added
- Uniform `read` and `write` methods
- `write_offset` parameter for the `read_into` methods
- Read framebuffer's pixels to a buffer
- Read texture's pixels to a buffer
- Write texture's from a buffer
- Pixel Buffer Object

Fixed
- Default framebuffer wrong drawbuffers
- Framebuffer non zero viewport settings
- Uniform setter error messages

4.1.6

Fixed
- Broken uniform setter in 4.1.5

4.1.5

Fixed
- Modifying framebuffer properties has no effect unless the framebuffer is explicitly bound

4.1.4

Added
- Framebuffer `color_mask` attribute
- Framebuffer `depth_mask` attribute
- Framebuffer `viewport` attribute

Fixed
- `copy_framebuffer` using `default_framebuffer`
- Failing `__repr__` in VertexArrays

Changed
- Framebuffer methods do not affect the bound framebuffer

Removed
- Invalid texture sampling parameters for multisample textures
- Invalid texture sampling parameters for depth textures

4.1.3

Added
- TextureFilter and TextureWrap classes and constants
- Texture `build_mipmaps` method
- Texture `repeat_x`, `repeat_y` and `filter` attributes
- Texture `swizzle` getter

Page 8 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.