Skip to content

Latest commit

 

History

History
21 lines (20 loc) · 1.18 KB

TODO.md

File metadata and controls

21 lines (20 loc) · 1.18 KB

Todo

  • Add support for glyph (text) rendering.
    • Look into using glyph_brush.
    • 1.2M downloads; seems reliable.
  • Add support for matrix transformations.
    • E.g., rotations, translations, etc.
  • Add support for "color-brush"es.
    • The "color-brush" concept should allow end users to paint their arbitrary shapes in whatever way they want.
    • For example, the end-user could specify a "linear-gradient, red-to-blue" color brush.
    • We would want to be able draw their arbitrary shape using a linear-gradient that starts as red on the left and turns into blue.
  • Name all descriptors in the wgpu structs to something helpful.
    • Right now, just defaulting them to None.

Done

  • Add rendering using index buffers.
    • Right now, everything is being rendered using plain vertex buffers, but that causes a lot of repetition of vertices.
  • Add support to render any arbitrary shape.
    • Should be tessellated via the lyon crate.
    • 1.5M downloads; seems reliable as well.
  • Add proper error-handling to metallic.
    • Currently, just passing an anyhow!("...") to propogate errors up.