#[repr(C)]pub struct D3DLIGHT2 {Show 13 fields
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,
pub dwFlags: u32,
}
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
§dwFlags: u32
Trait Implementations§
impl Copy for D3DLIGHT2
impl StructuralPartialEq for D3DLIGHT2
Auto Trait Implementations§
impl Freeze for D3DLIGHT2
impl RefUnwindSafe for D3DLIGHT2
impl Send for D3DLIGHT2
impl Sync for D3DLIGHT2
impl Unpin for D3DLIGHT2
impl UnwindSafe for D3DLIGHT2
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
)