pub struct HeightMapCompositor { /* private fields */ }Expand description
Composites multiple heightmaps using layered blending operations.
Implementations§
Source§impl HeightMapCompositor
impl HeightMapCompositor
pub fn new() -> Self
pub fn add_layer( &mut self, map: HeightMap, blend: CompositeBlendMode, weight: f32, )
pub fn add_layer_with_mask( &mut self, map: HeightMap, mask: HeightMap, blend: CompositeBlendMode, weight: f32, )
Auto Trait Implementations§
impl Freeze for HeightMapCompositor
impl RefUnwindSafe for HeightMapCompositor
impl Send for HeightMapCompositor
impl Sync for HeightMapCompositor
impl Unpin for HeightMapCompositor
impl UnsafeUnpin for HeightMapCompositor
impl UnwindSafe for HeightMapCompositor
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