pub enum LayerInput {
Frame,
ViewportTiles,
GeometryTiles,
RasterTiles,
RasterDemTiles,
SourceTiles,
}Expand description
What input data drives a plugin layer’s per-frame preparation.
Variants§
Frame
No source tiles; prepare renders against the frame and camera view.
ViewportTiles
No source tiles; update receives viewport tiles and picks tiles for prepare.
GeometryTiles
Vector/GeoJSON geometry source tiles; tile workers run build_tile_geometry.
RasterTiles
Decoded RGBA raster source tiles.
RasterDemTiles
Elevation DEM source tiles.
SourceTiles
The tiles of a source of any type, without their data: the layer draws over the tiles its source renders.
Trait Implementations§
Source§impl Clone for LayerInput
impl Clone for LayerInput
impl Copy for LayerInput
Source§impl Debug for LayerInput
impl Debug for LayerInput
impl Eq for LayerInput
Source§impl PartialEq for LayerInput
impl PartialEq for LayerInput
impl StructuralPartialEq for LayerInput
Auto Trait Implementations§
impl Forget for LayerInput
impl Freeze for LayerInput
impl Move for LayerInput
impl RefUnwindSafe for LayerInput
impl Send for LayerInput
impl Sync for LayerInput
impl Unpin for LayerInput
impl UnsafeUnpin for LayerInput
impl UnwindSafe for LayerInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more