hephae-render

Crates.iohephae-render
lib.rshephae-render
version0.7.2
created_at2024-12-16 11:16:45.560115+00
updated_at2025-03-24 15:17:38.707755+00
descriptionHephae's core rendering module.
homepage
repositoryhttps://github.com/GlennFolker/hephae
max_upload_size
id1484881
size131,688
GlFolker (GlennFolker)

documentation

README

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.

Commit count: 109

cargo fmt