Expand description
§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-worldComponentextracted from entities withHasDrawer<T>, acting as the “commander” to push out vertices and indices according to their logic-world entity parameters.VertexCommand: A “draw command” issued byDrawer, 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.
Re-exports§
pub use bytemuck;
Modules§
- attribute
- Defines functionalitie associated with vertex attributes and their respective layouts and formats.
- drawer
- Defines base drawers that work with vertices and supply various vertex commands.
- image_
bind - Utilities to store and keep track of
Images asBindGroups in the render world. - pipeline
- Provides all the necessary resources for a working base rendering pipeline.
- prelude
- Common imports for
hephae_render. - vertex
- The heart of Hephae.
Structs§
- Drawer
Plugin - Vertex specialized drawer driver, generic over
T. - Renderer
Plugin - The entry point of Hephae. See
vertexanddrawerfor more information. - Vertex
Plugin - Vertex renderer driver, generic over
T.
Enums§
- Hephae
Render Systems - Labels assigned to Hephae systems that are added to
Render.
Constants§
- HEPHAE_
VIEW_ BINDINGS_ HANDLE - Global handle to the global shader containing bind groups defining view uniform and tonemapping LUTs.
Traits§
- Drawer
Conf Drawers you can pass toRendererPluginto conveniently configure them in one go.- Vertex
Conf Vertexs you can pass toRendererPluginto conveniently configure them in one go.