#[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: f32

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.