pub struct CullStatus;Expand description
The per-object outcomes the GPU cull records in its status buffer. Metal’s ICB encode kernel is told which one to draw rather than declaring them itself.
Implementations§
Source§impl CullStatus
impl CullStatus
Sourcepub const HIZ_CANDIDATE: u32 = 1
pub const HIZ_CANDIDATE: u32 = 1
Hi-Z-occluded in phase 1; the only outcome phase 2 re-tests. Under single-pass occlusion no phase 2 runs, so this is the settled outcome of a Hi-Z rejection.
Sourcepub const HIZ_CULLED: u32 = 4
pub const HIZ_CULLED: u32 = 4
A candidate phase 2 found still occluded by this frame’s own depth.
Auto Trait Implementations§
impl Freeze for CullStatus
impl RefUnwindSafe for CullStatus
impl Send for CullStatus
impl Sync for CullStatus
impl Unpin for CullStatus
impl UnsafeUnpin for CullStatus
impl UnwindSafe for CullStatus
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