Enum bgfx_rs::static_lib::ViewMode
source · [−]#[repr(u32)]
pub enum ViewMode {
Default,
Sequential,
DepthAscending,
DepthDescending,
Count,
}
Expand description
View mode sets draw call sort order.
Variants
Default
Default sort order.
Sequential
Sort in the same order in which submit calls were called.
DepthAscending
Sort draw call depth in ascending order.
DepthDescending
Sort draw call depth in descending order.
Count
Number of entries in the enum
Trait Implementations
impl Copy for ViewMode
impl StructuralPartialEq for ViewMode
Auto Trait Implementations
impl RefUnwindSafe for ViewMode
impl Send for ViewMode
impl Sync for ViewMode
impl Unpin for ViewMode
impl UnwindSafe for ViewMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more