Skip to content

New Update! 0.5.16

Compare
Choose a tag to compare
@ElhamAryanpur ElhamAryanpur released this 12 Aug 22:00
· 36 commits to master since this release
5f2a7cb

What's Changed

  • feat: new functions: object.set_visibility, object.shader_builder.set_shader, window.set_fullscreen_exclusive, window.set_fullscreen_borderless, and renderer.set_clear_color
  • Added window functions that goes to effect during update_loop initialization (4061da7)
  • More sane setter functions (1913327)
  • Fix: #68 - updated dependencies to latest version (f13bcf8)

BREAKING CHANGES

  • object.flag_as_changed now accepts a boolean to set flag
  • engine.window is now internally Option<winit::Window> which is NOT AVAILABLE BEFORE UPDATE_LOOP. Thank winit v0.30 for this that doesn't let initialization before running at all. I fixed this and previous api compatibility by adding the function calls that store the state separately and then executes them on window as soon as it is initialized. Hence you can continue to use your window before update_loop (albeit not everything is available).

Full Changelog: 0.5.15...v0.5.16