#[repr(C)]pub struct BumpAllocators {
pub failed: u32,
pub binning: u32,
pub ptcl: u32,
pub tile: u32,
pub seg_counts: u32,
pub segments: u32,
pub blend: u32,
pub lines: u32,
}Expand description
Counters for tracking dynamic allocation on the GPU.
This must be kept in sync with the struct in shader/shared/bump.wgsl
Fields§
§failed: u32§binning: u32§ptcl: u32§tile: u32§seg_counts: u32§segments: u32§blend: u32§lines: u32Implementations§
Source§impl BumpAllocators
impl BumpAllocators
pub fn memory(&self) -> BumpAllocatorMemory
Trait Implementations§
Source§impl Clone for BumpAllocators
impl Clone for BumpAllocators
impl Copy for BumpAllocators
Source§impl Debug for BumpAllocators
impl Debug for BumpAllocators
Source§impl Default for BumpAllocators
impl Default for BumpAllocators
impl Pod for BumpAllocators
Auto Trait Implementations§
impl Forget for BumpAllocators
impl Freeze for BumpAllocators
impl Move for BumpAllocators
impl RefUnwindSafe for BumpAllocators
impl Send for BumpAllocators
impl Sync for BumpAllocators
impl Unpin for BumpAllocators
impl UnsafeUnpin for BumpAllocators
impl UnwindSafe for BumpAllocators
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.