Struct rust_gpu_sdf::operators::isosurface::IsosurfaceOp
source · pub struct IsosurfaceOp {
pub delta: f32,
}
Expand description
Shift the isosurface of a distance field by a given amount.
Fields§
§delta: f32
Implementations§
Trait Implementations§
source§impl Clone for IsosurfaceOp
impl Clone for IsosurfaceOp
source§fn clone(&self) -> IsosurfaceOp
fn clone(&self) -> IsosurfaceOp
Returns a copy of the value. Read more
1.0.0 · 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 IsosurfaceOp
impl Debug for IsosurfaceOp
source§impl Default for IsosurfaceOp
impl Default for IsosurfaceOp
source§impl PartialEq<IsosurfaceOp> for IsosurfaceOp
impl PartialEq<IsosurfaceOp> for IsosurfaceOp
source§fn eq(&self, other: &IsosurfaceOp) -> bool
fn eq(&self, other: &IsosurfaceOp) -> bool
source§impl PartialOrd<IsosurfaceOp> for IsosurfaceOp
impl PartialOrd<IsosurfaceOp> for IsosurfaceOp
source§fn partial_cmp(&self, other: &IsosurfaceOp) -> Option<Ordering>
fn partial_cmp(&self, other: &IsosurfaceOp) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more