pub struct EarlyInputs<'a> {
pub view_projection: Mat4,
pub previous_view_projection: Mat4,
pub history: Option<&'a DepthPyramid>,
pub target: (u32, u32),
pub small_feature_pixels: Option<f32>,
}Expand description
What the first occlusion phase is given.
Fields§
§view_projection: Mat4This frame’s world → clip, which the small-feature test projects through.
previous_view_projection: Mat4The previous frame’s, which the occlusion test reprojects through.
history: Option<&'a DepthPyramid>The previous frame’s farthest-depth pyramid, or None where there is no
history — which marks nothing.
target: (u32, u32)The target the small-feature test measures in.
small_feature_pixels: Option<f32>The small-feature threshold in pixels, or None where it is off.
Trait Implementations§
Source§impl<'a> Clone for EarlyInputs<'a>
impl<'a> Clone for EarlyInputs<'a>
impl<'a> Copy for EarlyInputs<'a>
Auto Trait Implementations§
impl<'a> Forget for EarlyInputs<'a>
impl<'a> Freeze for EarlyInputs<'a>
impl<'a> Move for EarlyInputs<'a>
impl<'a> RefUnwindSafe for EarlyInputs<'a>
impl<'a> Send for EarlyInputs<'a>
impl<'a> Sync for EarlyInputs<'a>
impl<'a> Unpin for EarlyInputs<'a>
impl<'a> UnsafeUnpin for EarlyInputs<'a>
impl<'a> UnwindSafe for EarlyInputs<'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