1 unstable release

new 0.6.0 Feb 15, 2025
0.5.0 Feb 2, 2025
0.4.0 Jan 6, 2025
0.3.0 Dec 26, 2024
0.2.2 Dec 17, 2024

#7 in #vertex-buffer

Download history 357/week @ 2024-12-15 139/week @ 2024-12-22 9/week @ 2024-12-29 122/week @ 2025-01-05 7/week @ 2025-01-12 119/week @ 2025-02-02 129/week @ 2025-02-09

253 downloads per month
Used in hephae

MIT/Apache

68KB
1K 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

~35–66MB
~1M SLoC