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

Modules

Main camera

Labels for the “draw” graph

Executes a RenderGraph

main_pass 🔒

The main render pass for this application.

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.

Describes the concept of a RenderPhase and PhaseItem

Utilities which holds references to GPU-owned. Usually a resource is a wrapper which makes using buffers or textures simpler.

Settings for the renderer

shaders 🔒

Rendering specific Stages

Utility for declaring pipelines.

Utility for generating a tile pattern which can be used for masking.

Structs

Constants

Functions