#[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: D3DLIGHTTYPE
Diffuse: D3DCOLORVALUE
Specular: D3DCOLORVALUE
Ambient: D3DCOLORVALUE
Position: D3DVECTOR
Direction: D3DVECTOR
Range: f32
Falloff: f32
Attenuation0: f32
Attenuation1: f32
Attenuation2: f32
Theta: f32
Phi: f32
Trait 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