#hephae #rendering #hephae-render

hephae-render

Hephae's core rendering module

4 releases

Uses new Rust 2024

0.7.2 Mar 24, 2025
0.7.1 Mar 13, 2025
0.6.0 Feb 15, 2025
0.5.0 Feb 2, 2025
0.2.2 Dec 17, 2024

#982 in Game dev

Download history 265/week @ 2024-12-11 104/week @ 2024-12-18 136/week @ 2024-12-25 109/week @ 2025-01-01 20/week @ 2025-01-08 112/week @ 2025-01-29 135/week @ 2025-02-12 8/week @ 2025-02-19 159/week @ 2025-02-26 17/week @ 2025-03-05 134/week @ 2025-03-12 106/week @ 2025-03-19 36/week @ 2025-03-26

304 downloads per month
Used in hephae

MIT/Apache

70KB
1.5K SLoC

hephae-render

Hephae's core rendering module. This library provides the following for you to build your framework on:

  • Vertex: The heart of Hephae. Defines the vertex buffer layout, rendering pipeline specialization, batching parameters, and draw commands.
  • Drawer: A render-world Component extracted from entities with HasDrawer<T>, acting as the "commander" to push out vertices and indices according to their logic-world entity parameters.
  • VertexCommand: A "draw command" issued by Drawer, cached and sorted in the pipeline and modifies the GPU buffers directly when dispatched by camera views.

The three of these are enough to build a sprite-less colorful 2D rendering system (see examples/quad.rs). Please refer to the item-level documentations for more in-depth explanations and usage guides.

Dependencies

~37–69MB
~1M SLoC