Struct winapi::d3d9types::D3DLIGHT9
[−]
[src]
pub struct D3DLIGHT9 {
pub Type: D3DLIGHTTYPE,
pub Diffuse: D3DCOLORVALUE,
pub Specular: D3DCOLORVALUE,
pub Ambient: D3DCOLORVALUE,
pub Position: D3DVECTOR,
pub Direction: D3DVECTOR,
pub Range: c_float,
pub Falloff: c_float,
pub Attenuation0: c_float,
pub Attenuation1: c_float,
pub Attenuation2: c_float,
pub Theta: c_float,
pub Phi: c_float,
}Fields
Type: D3DLIGHTTYPE
Diffuse: D3DCOLORVALUE
Specular: D3DCOLORVALUE
Ambient: D3DCOLORVALUE
Position: D3DVECTOR
Direction: D3DVECTOR
Range: c_float
Falloff: c_float
Attenuation0: c_float
Attenuation1: c_float
Attenuation2: c_float
Theta: c_float
Phi: c_float
Trait Implementations
impl Debug for D3DLIGHT9[src]
impl Copy for D3DLIGHT9[src]
impl Clone for D3DLIGHT9[src]
fn clone(&self) -> D3DLIGHT9
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more