#[repr(C)]pub struct SkyGroundUniforms {
pub view_proj: [[f32; 4]; 4],
pub inv_view_proj: [[f32; 4]; 4],
pub viewport_origin: [f32; 2],
pub resolution: [f32; 2],
pub ground_dark: [f32; 3],
pub ground_y: f32,
pub ground_light: [f32; 3],
pub show_ground: f32,
pub sky_below: [f32; 3],
pub fog_per_unit: f32,
pub sky_above: [f32; 3],
pub fog_start: f32,
}Expand description
Bind group 0, binding 0; matches the node’s WGSL Uniforms.
Fields§
§view_proj: [[f32; 4]; 4]§inv_view_proj: [[f32; 4]; 4]§viewport_origin: [f32; 2]§resolution: [f32; 2]§ground_dark: [f32; 3]§ground_y: f32§ground_light: [f32; 3]§show_ground: f32§sky_below: [f32; 3]§fog_per_unit: f32§sky_above: [f32; 3]§fog_start: f32Implementations§
Trait Implementations§
Source§impl Clone for SkyGroundUniforms
impl Clone for SkyGroundUniforms
Source§fn clone(&self) -> SkyGroundUniforms
fn clone(&self) -> SkyGroundUniforms
Returns a duplicate 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 SkyGroundUniforms
impl Debug for SkyGroundUniforms
impl Copy for SkyGroundUniforms
impl Pod for SkyGroundUniforms
Auto Trait Implementations§
impl Freeze for SkyGroundUniforms
impl RefUnwindSafe for SkyGroundUniforms
impl Send for SkyGroundUniforms
impl Sync for SkyGroundUniforms
impl Unpin for SkyGroundUniforms
impl UnsafeUnpin for SkyGroundUniforms
impl UnwindSafe for SkyGroundUniforms
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.