pub struct ClusterRange {
pub base: u32,
pub count: u32,
}Expand description
Where one mesh’s clusters live in ClusterPool::clusters.
The two numbers a bucket’s ClusterDrawConstants block carries, and the
x extent of the dispatch that draws it.
Fields§
§base: u32This mesh’s first cluster.
count: u32How many clusters it has. Never zero for a mesh with triangles, which is
what lets the mesh stage read cluster base unconditionally.
Trait Implementations§
Source§impl Clone for ClusterRange
impl Clone for ClusterRange
impl Copy for ClusterRange
Source§impl Debug for ClusterRange
impl Debug for ClusterRange
Source§impl Default for ClusterRange
impl Default for ClusterRange
impl Eq for ClusterRange
Source§impl PartialEq for ClusterRange
impl PartialEq for ClusterRange
impl StructuralPartialEq for ClusterRange
Auto Trait Implementations§
impl Freeze for ClusterRange
impl RefUnwindSafe for ClusterRange
impl Send for ClusterRange
impl Sync for ClusterRange
impl Unpin for ClusterRange
impl UnsafeUnpin for ClusterRange
impl UnwindSafe for ClusterRange
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