#[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
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
)