pub enum FrameCull<'a> {
Plain,
Faces(&'a FacePlanes),
Occlusion(OcclusionFrame),
}Expand description
What one frame’s cull does beyond the frustum — handed to
DrawGen::begin_frame_with.
Variants§
Plain
The frustum and nothing else, into region 0.
Faces(&'a FacePlanes)
A point light’s cull: the frustum is the light’s box, and each survivor
is tagged with the faces whose side planes it reaches and scattered into
each of those faces’ regions. Needs a DrawMode::Faces generator.
Occlusion(OcclusionFrame)
The camera’s two-phase occlusion and small-feature culls. Needs a
DrawMode::Occlusion generator.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for FrameCull<'a>
impl<'a> Freeze for FrameCull<'a>
impl<'a> Move for FrameCull<'a>
impl<'a> RefUnwindSafe for FrameCull<'a>
impl<'a> Send for FrameCull<'a>
impl<'a> Sync for FrameCull<'a>
impl<'a> Unpin for FrameCull<'a>
impl<'a> UnsafeUnpin for FrameCull<'a>
impl<'a> UnwindSafe for FrameCull<'a>
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