#[repr(C)]pub struct D3DLIGHT7 {Show 13 fields
pub dltType: D3DLIGHTTYPE,
pub dcvDiffuse: D3DCOLORVALUE,
pub dcvSpecular: D3DCOLORVALUE,
pub dcvAmbient: 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§
§dltType: D3DLIGHTTYPE
§dcvDiffuse: D3DCOLORVALUE
§dcvSpecular: D3DCOLORVALUE
§dcvAmbient: D3DCOLORVALUE
§dvPosition: D3DVECTOR
§dvDirection: D3DVECTOR
§dvRange: f32
§dvFalloff: f32
§dvAttenuation0: f32
§dvAttenuation1: f32
§dvAttenuation2: f32
§dvTheta: f32
§dvPhi: f32
Trait Implementations§
impl Copy for D3DLIGHT7
impl StructuralPartialEq for D3DLIGHT7
Auto Trait Implementations§
impl Freeze for D3DLIGHT7
impl RefUnwindSafe for D3DLIGHT7
impl Send for D3DLIGHT7
impl Sync for D3DLIGHT7
impl Unpin for D3DLIGHT7
impl UnwindSafe for D3DLIGHT7
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
)