Struct citro3d_sys::C3D_Light_t
source · #[repr(C)]pub struct C3D_Light_t {
pub flags: u16_,
pub id: u16_,
pub parent: *mut C3D_LightEnv,
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
§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
impl Clone for C3D_Light_t
source§fn clone(&self) -> C3D_Light_t
fn clone(&self) -> C3D_Light_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more