pub enum BufferBit {
Depth = 256,
Stencil = 1_024,
Color = 16_384,
}Variants§
Depth = 256
Passed to clear to clear the current depth buffer.
Stencil = 1_024
Passed to clear to clear the current stencil buffer.
Color = 16_384
Passed to clear to clear the current color buffer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BufferBit
impl RefUnwindSafe for BufferBit
impl Send for BufferBit
impl Sync for BufferBit
impl Unpin for BufferBit
impl UnwindSafe for BufferBit
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