pub struct RasterConfig {
pub clear_color: TextureColor,
pub light_dir: Vector3<f32>,
pub light_color: Vector3<f32>,
pub ambient_color: Vector3<f32>,
pub roughness: f32,
pub metallic: f32,
pub space_sky: bool,
}Fields§
§clear_color: TextureColor§light_dir: Vector3<f32>§light_color: Vector3<f32>§ambient_color: Vector3<f32>§roughness: f32§metallic: f32§space_sky: boolWhen true, the sky fallback renders pure black instead of a blue gradient.
Trait Implementations§
Source§impl Clone for RasterConfig
impl Clone for RasterConfig
Source§fn clone(&self) -> RasterConfig
fn clone(&self) -> RasterConfig
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 RasterConfig
impl Debug for RasterConfig
Source§impl Default for RasterConfig
impl Default for RasterConfig
impl Copy for RasterConfig
Auto Trait Implementations§
impl Freeze for RasterConfig
impl RefUnwindSafe for RasterConfig
impl Send for RasterConfig
impl Sync for RasterConfig
impl Unpin for RasterConfig
impl UnsafeUnpin for RasterConfig
impl UnwindSafe for RasterConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().