Module render

Source
Expand description

This module implements the rendering algorithm of maplibre-rs. It manages the whole communication with the GPU.

The render in this module is largely based on the bevy_render crate with commit aced6a. It is dual-licensed under MIT and Apache:

Bevy is dual-licensed under either

* MIT License (docs/LICENSE-MIT or http://opensource.org/licenses/MIT)
* Apache License, Version 2.0 (docs/LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)

at your option.

We appreciate the design and implementation work which as gone into it.

Re-exportsΒ§

pub use shaders::ShaderVertex;

ModulesΒ§

builder
camera
Main camera
draw_graph πŸ”’
Labels for the β€œdraw” graph
error
eventually
graph
graph_runner πŸ”’
Executes a RenderGraph
main_graph
main_pass πŸ”’
The main render pass for this application.
render_commands
Specifies the instructions which are going to be sent to the GPU. Render commands can be concatenated into a new render command which executes multiple instruction sets.
render_phase
Describes the concept of a RenderPhase and PhaseItem
resource
Utilities which holds references to GPU-owned. Usually a resource is a wrapper which makes using buffers or textures simpler.
settings
Settings for the renderer
shaders
systems πŸ”’
Rendering specific systems
tile_view_pattern
Utility for generating a tile pattern which can be used for masking.
translucent_pass πŸ”’
view_state

StructsΒ§

MaskPipeline
RenderPlugin
RenderResources
Renderer

EnumsΒ§

RenderStageLabel
The labels of the default App rendering stages.

ConstantsΒ§

INDEX_FORMAT πŸ”’