#[repr(C)]pub struct GpuNode64 {
pub child_mask_low: u32,
pub child_mask_high: u32,
pub child_ptr_and_leaf: u32,
pub _padding: u32,
pub color: [f32; 3],
pub _padding2: u32,
}
Expand description
GPU-side node representation. structure (child_mask split into two u32, a 32-bit pointer with a leaf flag, and color).
Fields§
§child_mask_low: u32
§child_mask_high: u32
§child_ptr_and_leaf: u32
§_padding: u32
§color: [f32; 3]
§_padding2: u32
Trait Implementations§
impl Copy for GpuNode64
impl Pod for GpuNode64
Auto Trait Implementations§
impl Freeze for GpuNode64
impl RefUnwindSafe for GpuNode64
impl Send for GpuNode64
impl Sync for GpuNode64
impl Unpin for GpuNode64
impl UnwindSafe for GpuNode64
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
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
.