mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Rename module
This commit is contained in:
parent
01aa0e00f8
commit
2cd031e609
@ -2,8 +2,8 @@ mod buffer_pool;
|
||||
|
||||
mod piplines;
|
||||
mod shaders;
|
||||
mod stencil_pattern;
|
||||
mod texture;
|
||||
mod tile_mask_pattern;
|
||||
|
||||
pub mod camera;
|
||||
pub mod options;
|
||||
|
||||
@ -9,7 +9,7 @@ use winit::window::Window;
|
||||
use crate::io::worker_loop::WorkerLoop;
|
||||
use crate::platform::{COLOR_TEXTURE_FORMAT, MIN_BUFFER_SIZE};
|
||||
use crate::render::buffer_pool::{BackingBufferDescriptor, BufferPool};
|
||||
use crate::render::stencil_pattern::TileMaskPattern;
|
||||
use crate::render::tile_mask_pattern::TileMaskPattern;
|
||||
use crate::render::{camera, shaders};
|
||||
use crate::tesselation::IndexDataType;
|
||||
use crate::util::FPSMeter;
|
||||
|
||||
@ -50,6 +50,9 @@ pub struct TileMaskPattern {
|
||||
pattern: Vec<MaskInstanceUniform>,
|
||||
}
|
||||
|
||||
/// Implementation of a masking algorithm using a stencil buffer. The layout of the
|
||||
/// buffer can be reviewed [here](https://maxammann.org/mapr/docs/stencil-masking.html).
|
||||
///
|
||||
impl TileMaskPattern {
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
Loading…
x
Reference in New Issue
Block a user