Struct D3DLIGHT
#[repr(C)]pub struct D3DLIGHT {
pub dwSize: u32,
pub dltType: D3DLIGHTTYPE,
pub dcvColor: D3DCOLORVALUE,
pub dvPosition: D3DVECTOR,
pub dvDirection: D3DVECTOR,
pub dvRange: f32,
pub dvFalloff: f32,
pub dvAttenuation0: f32,
pub dvAttenuation1: f32,
pub dvAttenuation2: f32,
pub dvTheta: f32,
pub dvPhi: f32,
}
Fields§
§dwSize: u32
§dltType: D3DLIGHTTYPE
§dcvColor: D3DCOLORVALUE
§dvPosition: D3DVECTOR
§dvDirection: D3DVECTOR
§dvRange: f32
§dvFalloff: f32
§dvAttenuation0: f32
§dvAttenuation1: f32
§dvAttenuation2: f32
§dvTheta: f32
§dvPhi: f32
Trait Implementations§
impl Copy for D3DLIGHT
impl StructuralPartialEq for D3DLIGHT
Auto Trait Implementations§
impl Freeze for D3DLIGHT
impl RefUnwindSafe for D3DLIGHT
impl Send for D3DLIGHT
impl Sync for D3DLIGHT
impl Unpin for D3DLIGHT
impl UnwindSafe for D3DLIGHT
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