#[repr(C, packed(1))]pub struct AccelerationStructureSizes {
pub acceleration_structure_size: UInteger,
pub build_scratch_buffer_size: UInteger,
pub refit_scratch_buffer_size: UInteger,
}Expand description
Acceleration structure sizes returned by the device.
C++ equivalent: MTL::AccelerationStructureSizes
Fields§
§acceleration_structure_size: UInteger§build_scratch_buffer_size: UInteger§refit_scratch_buffer_size: UIntegerTrait Implementations§
Source§impl Clone for AccelerationStructureSizes
impl Clone for AccelerationStructureSizes
Source§fn clone(&self) -> AccelerationStructureSizes
fn clone(&self) -> AccelerationStructureSizes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccelerationStructureSizes
impl Debug for AccelerationStructureSizes
Source§impl Default for AccelerationStructureSizes
impl Default for AccelerationStructureSizes
Source§fn default() -> AccelerationStructureSizes
fn default() -> AccelerationStructureSizes
Returns the “default value” for a type. Read more
Source§impl Hash for AccelerationStructureSizes
impl Hash for AccelerationStructureSizes
impl Copy for AccelerationStructureSizes
impl Eq for AccelerationStructureSizes
impl StructuralPartialEq for AccelerationStructureSizes
Auto Trait Implementations§
impl Freeze for AccelerationStructureSizes
impl RefUnwindSafe for AccelerationStructureSizes
impl Send for AccelerationStructureSizes
impl Sync for AccelerationStructureSizes
impl Unpin for AccelerationStructureSizes
impl UnwindSafe for AccelerationStructureSizes
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