#[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,
}
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§
impl Copy for D3DLIGHT9
impl StructuralPartialEq for D3DLIGHT9
Auto Trait Implementations§
impl Freeze for D3DLIGHT9
impl RefUnwindSafe for D3DLIGHT9
impl Send for D3DLIGHT9
impl Sync for D3DLIGHT9
impl Unpin for D3DLIGHT9
impl UnwindSafe for D3DLIGHT9
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)