Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 2.32 KB

README.md

File metadata and controls

47 lines (37 loc) · 2.32 KB

bevy-vertex-pulling

Vertex pulling is a useful and efficient technique for drawing many quads or cubes by storing per-instance data in a buffer, indexing into it using an index calculated based on the vertex index, and calculating offsets from a world position for the instance based on which vertex of the quad/cube is being processed.

Approaches Implemented

  • Instance data stored in:
    • Storage buffer
    • Instance-rate vertex buffer
  • Shapes
    • Quads
    • Cuboids/voxels

Things to do/try

License

bevy-vertex-pulling is free and open source! All code in this repository is dual-licensed under either:

at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.