#[repr(transparent)]pub struct LightId(pub u8);Expand description
ID space for lighting shaders IDs 0x00 through 0x7F are reserved for public use
Tuple Fields§
§0: u8Implementations§
Source§impl LightId
impl LightId
pub const AmbientLightBase: LightId = _
pub const DirectionalLightBase: LightId = _
pub const PointLight: LightId = _
pub const SpotLightBase: LightId = _
Trait Implementations§
impl Eq for LightId
impl StructuralPartialEq for LightId
Auto Trait Implementations§
impl Freeze for LightId
impl RefUnwindSafe for LightId
impl Send for LightId
impl Sync for LightId
impl Unpin for LightId
impl UnwindSafe for LightId
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