Skip to content

5.9.0

Compare
Choose a tag to compare
@szabolcsdombi szabolcsdombi released this 19 Jan 17:21
· 73 commits to main since this release
  • 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