Enum citro3d::render::DepthFormat
source · #[repr(u8)]pub enum DepthFormat {
Depth16 = 0,
Depth24 = 2,
Depth24Stencil8 = 3,
}
Expand description
The depth buffer format to use when rendering.
Variants§
Depth16 = 0
16-bit depth.
Depth24 = 2
24-bit depth.
Depth24Stencil8 = 3
24-bit depth + 8-bit Stencil.
Trait Implementations§
source§impl Clone for DepthFormat
impl Clone for DepthFormat
source§fn clone(&self) -> DepthFormat
fn clone(&self) -> DepthFormat
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DepthFormat
impl Debug for DepthFormat
impl Copy for DepthFormat
Auto Trait Implementations§
impl RefUnwindSafe for DepthFormat
impl Send for DepthFormat
impl Sync for DepthFormat
impl Unpin for DepthFormat
impl UnwindSafe for DepthFormat
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more