Struct wgpu::hal::AccelerationStructureBuildSizes
source · pub struct AccelerationStructureBuildSizes {
pub acceleration_structure_size: u64,
pub update_scratch_size: u64,
pub build_scratch_size: u64,
}
Expand description
Information of the required size for a corresponding entries struct (+ flags)
Fields§
§acceleration_structure_size: u64
§update_scratch_size: u64
§build_scratch_size: u64
Trait Implementations§
source§impl Clone for AccelerationStructureBuildSizes
impl Clone for AccelerationStructureBuildSizes
source§fn clone(&self) -> AccelerationStructureBuildSizes
fn clone(&self) -> AccelerationStructureBuildSizes
Returns a copy 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 Default for AccelerationStructureBuildSizes
impl Default for AccelerationStructureBuildSizes
source§fn default() -> AccelerationStructureBuildSizes
fn default() -> AccelerationStructureBuildSizes
Returns the “default value” for a type. Read more
source§impl PartialEq for AccelerationStructureBuildSizes
impl PartialEq for AccelerationStructureBuildSizes
source§fn eq(&self, other: &AccelerationStructureBuildSizes) -> bool
fn eq(&self, other: &AccelerationStructureBuildSizes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AccelerationStructureBuildSizes
impl Eq for AccelerationStructureBuildSizes
impl StructuralEq for AccelerationStructureBuildSizes
impl StructuralPartialEq for AccelerationStructureBuildSizes
Auto Trait Implementations§
impl RefUnwindSafe for AccelerationStructureBuildSizes
impl Send for AccelerationStructureBuildSizes
impl Sync for AccelerationStructureBuildSizes
impl Unpin for AccelerationStructureBuildSizes
impl UnwindSafe for AccelerationStructureBuildSizes
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.