Struct windows_sys::Win32::Graphics::Direct3D9::D3DMATERIAL9
[−]#[repr(C)]pub struct D3DMATERIAL9 {
pub Diffuse: D3DCOLORVALUE,
pub Ambient: D3DCOLORVALUE,
pub Specular: D3DCOLORVALUE,
pub Emissive: D3DCOLORVALUE,
pub Power: f32,
}
Expand description
Required features: "Win32_Graphics_Direct3D9"
Fields
Diffuse: D3DCOLORVALUE
Ambient: D3DCOLORVALUE
Specular: D3DCOLORVALUE
Emissive: D3DCOLORVALUE
Power: f32
Trait Implementations
impl Clone for D3DMATERIAL9
impl Clone for D3DMATERIAL9
impl Copy for D3DMATERIAL9
Auto Trait Implementations
impl RefUnwindSafe for D3DMATERIAL9
impl Send for D3DMATERIAL9
impl Sync for D3DMATERIAL9
impl Unpin for D3DMATERIAL9
impl UnwindSafe for D3DMATERIAL9
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more