pub struct TextureGpu {
pub water_height: f32,
}Expand description
The texture (albedo) layer’s params. Most albedo is derived from the height field, so this is currently just the water-colouring threshold — but owning it as a separate layer lets a colour-only change route through the graph without re-staging geometry, and is where future albedo tunables land.
Fields§
§water_height: f32Trait Implementations§
Source§impl Clone for TextureGpu
impl Clone for TextureGpu
Source§fn clone(&self) -> TextureGpu
fn clone(&self) -> TextureGpu
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextureGpu
impl Debug for TextureGpu
Source§impl Default for TextureGpu
impl Default for TextureGpu
Source§impl PartialEq for TextureGpu
impl PartialEq for TextureGpu
Source§fn eq(&self, other: &TextureGpu) -> bool
fn eq(&self, other: &TextureGpu) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TextureGpu
impl StructuralPartialEq for TextureGpu
Auto Trait Implementations§
impl Freeze for TextureGpu
impl RefUnwindSafe for TextureGpu
impl Send for TextureGpu
impl Sync for TextureGpu
impl Unpin for TextureGpu
impl UnsafeUnpin for TextureGpu
impl UnwindSafe for TextureGpu
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