#[repr(C)]pub struct D3DLIGHT9 {Show 13 fields
pub Type: D3DLIGHTTYPE,
pub Diffuse: D3DCOLORVALUE,
pub Specular: D3DCOLORVALUE,
pub Ambient: D3DCOLORVALUE,
pub Position: D3DVECTOR,
pub Direction: D3DVECTOR,
pub Range: f32,
pub Falloff: f32,
pub Attenuation0: f32,
pub Attenuation1: f32,
pub Attenuation2: f32,
pub Theta: f32,
pub Phi: f32,
}Expand description
Required features: "Win32_Graphics_Direct3D9", "Win32_Graphics_Direct3D"
Fields
Type: D3DLIGHTTYPEDiffuse: D3DCOLORVALUESpecular: D3DCOLORVALUEAmbient: D3DCOLORVALUEPosition: D3DVECTORDirection: D3DVECTORRange: f32Falloff: f32Attenuation0: f32Attenuation1: f32Attenuation2: f32Theta: f32Phi: f32Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for D3DLIGHT9
impl Send for D3DLIGHT9
impl Sync for D3DLIGHT9
impl Unpin for D3DLIGHT9
impl UnwindSafe for D3DLIGHT9
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more