Type Alias C3D_Light

Source
pub type C3D_Light = C3D_Light_t;

Aliased Type§

#[repr(C)]
pub struct C3D_Light { pub flags: u16, pub id: u16, pub parent: *mut C3D_LightEnv_t, pub lut_SP: *mut C3D_LightLut, pub lut_DA: *mut C3D_LightLut, pub ambient: [f32; 3], pub diffuse: [f32; 3], pub specular0: [f32; 3], pub specular1: [f32; 3], pub conf: C3D_LightConf, }

Fields§

§flags: u16§id: u16§parent: *mut C3D_LightEnv_t§lut_SP: *mut C3D_LightLut§lut_DA: *mut C3D_LightLut§ambient: [f32; 3]§diffuse: [f32; 3]§specular0: [f32; 3]§specular1: [f32; 3]§conf: C3D_LightConf

Trait Implementations

Source§

impl Clone for C3D_Light_t

Source§

fn clone(&self) -> C3D_Light_t

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for C3D_Light_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for C3D_Light_t