pub enum UniformsReader {
DepthPass,
ColourOnly,
}Expand description
Which pass reads a UniformsField of a shadow view’s block.
Variants§
DepthPass
The atlas’s depth pass reads it, so a held map’s group record carries it
— depth_pass_reads keeps it.
ColourOnly
Only the colour pass reads it, so a change to it is no reason to redraw a
map — depth_pass_reads zeroes it.
Trait Implementations§
Source§impl Clone for UniformsReader
impl Clone for UniformsReader
impl Copy for UniformsReader
Source§impl Debug for UniformsReader
impl Debug for UniformsReader
impl Eq for UniformsReader
Source§impl PartialEq for UniformsReader
impl PartialEq for UniformsReader
impl StructuralPartialEq for UniformsReader
Auto Trait Implementations§
impl Freeze for UniformsReader
impl RefUnwindSafe for UniformsReader
impl Send for UniformsReader
impl Sync for UniformsReader
impl Unpin for UniformsReader
impl UnsafeUnpin for UniformsReader
impl UnwindSafe for UniformsReader
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