pub struct LightTile {
pub point_light_indices: Vec<u32>,
pub spot_light_indices: Vec<u32>,
pub depth_min: f32,
pub depth_max: f32,
}Expand description
Tile descriptor for tile-based forward+ light culling.
Fields§
§point_light_indices: Vec<u32>Indices into the LightManager’s point_lights/spot_lights arrays.
spot_light_indices: Vec<u32>§depth_min: f32Minimum and maximum depth values seen in this tile.
depth_max: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LightTile
impl RefUnwindSafe for LightTile
impl Send for LightTile
impl Sync for LightTile
impl Unpin for LightTile
impl UnsafeUnpin for LightTile
impl UnwindSafe for LightTile
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