Download Latest Version 5.12.0 source code.tar.gz (1.9 MB)
Email in envelope

Get an email when there's a new version of ModernGL

Home / 5.9.0
Name Modified Size InfoDownloads / Week
Parent folder
5.9.0 source code.tar.gz 2023-11-18 2.2 MB
5.9.0 source code.zip 2023-11-18 2.3 MB
README.md 2023-11-18 1.4 kB
Totals: 3 Items   4.6 MB 0
  • Removing Python 3.7 support, adding Python 3.12 support
  • Fixing memory leaks
  • Transferring constants from moderngl to moderngl.Context (safely)
  • Dividing documentation into annotations (moderngl-stubs/__init__.pyi) and full documentation (docs/*)
  • Implemented new property: Context.depth_clamp_range
  • Adding shader includes
  • Adding an example of creating a separate window object
  • Adding access to input attributes in SPIR-V programs (via SPIR-V parsing) (example: vao = ctx.vertex_array(spv_program, buffer, 0, 1) (if your SPIR-V compiler did not erase attribute names, they can also be used))
  • Adding access to program attributes by their location numbers (example: vao = ctx.vertex_array(program, buffer, 0, 1))
  • Adding descriptions for Context.memory_barrier() and Context.depth_clamp_range in the documentation
  • Fixed inaccuracies in documentation
  • Implemented depth cube maps: Context.depth_texture_cube()
  • Update build documentation command (sphinx) (see in README.md)
  • Minor changes to README.md
Source: README.md, updated 2023-11-18