#[repr(C)]pub struct MaterialMap {
pub texture: ManuallyDrop<Texture2D>,
pub color: Color,
pub value: f32,
}
Expand description
Material map
Fields§
§texture: ManuallyDrop<Texture2D>
Material map texture
color: Color
Material map color
value: f32
Material map value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MaterialMap
impl RefUnwindSafe for MaterialMap
impl Send for MaterialMap
impl Sync for MaterialMap
impl Unpin for MaterialMap
impl UnwindSafe for MaterialMap
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