Enum bgfx_rs::static_lib::ViewMode
source · #[repr(u32)]pub enum ViewMode {
Default = 0,
Sequential = 1,
DepthAscending = 2,
DepthDescending = 3,
Count = 4,
}
Expand description
View mode sets draw call sort order.
Variants§
Default = 0
Default sort order.
Sequential = 1
Sort in the same order in which submit calls were called.
DepthAscending = 2
Sort draw call depth in ascending order.
DepthDescending = 3
Sort draw call depth in descending order.
Count = 4
Number of entries in the enum
Trait Implementations§
source§impl PartialEq for ViewMode
impl PartialEq for ViewMode
impl Copy for ViewMode
impl StructuralPartialEq for ViewMode
Auto Trait Implementations§
impl Freeze for ViewMode
impl RefUnwindSafe for ViewMode
impl Send for ViewMode
impl Sync for ViewMode
impl Unpin for ViewMode
impl UnwindSafe for ViewMode
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