Struct ash::vk::definitions::AccelerationStructureBuildSizesInfoKHR
source · #[repr(C)]pub struct AccelerationStructureBuildSizesInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub acceleration_structure_size: DeviceSize,
pub update_scratch_size: DeviceSize,
pub build_scratch_size: DeviceSize,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§acceleration_structure_size: DeviceSize
§update_scratch_size: DeviceSize
§build_scratch_size: DeviceSize
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> AccelerationStructureBuildSizesInfoKHR<'a>
impl<'a> AccelerationStructureBuildSizesInfoKHR<'a>
pub fn acceleration_structure_size( self, acceleration_structure_size: DeviceSize, ) -> Self
pub fn update_scratch_size(self, update_scratch_size: DeviceSize) -> Self
pub fn build_scratch_size(self, build_scratch_size: DeviceSize) -> Self
Trait Implementations§
source§impl<'a> Clone for AccelerationStructureBuildSizesInfoKHR<'a>
impl<'a> Clone for AccelerationStructureBuildSizesInfoKHR<'a>
source§fn clone(&self) -> AccelerationStructureBuildSizesInfoKHR<'a>
fn clone(&self) -> AccelerationStructureBuildSizesInfoKHR<'a>
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<'a> Debug for AccelerationStructureBuildSizesInfoKHR<'a>
impl<'a> Debug for AccelerationStructureBuildSizesInfoKHR<'a>
source§impl Default for AccelerationStructureBuildSizesInfoKHR<'_>
impl Default for AccelerationStructureBuildSizesInfoKHR<'_>
source§impl<'a> TaggedStructure for AccelerationStructureBuildSizesInfoKHR<'a>
impl<'a> TaggedStructure for AccelerationStructureBuildSizesInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::ACCELERATION_STRUCTURE_BUILD_SIZES_INFO_KHR
impl<'a> Copy for AccelerationStructureBuildSizesInfoKHR<'a>
impl Send for AccelerationStructureBuildSizesInfoKHR<'_>
impl Sync for AccelerationStructureBuildSizesInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for AccelerationStructureBuildSizesInfoKHR<'a>
impl<'a> RefUnwindSafe for AccelerationStructureBuildSizesInfoKHR<'a>
impl<'a> Unpin for AccelerationStructureBuildSizesInfoKHR<'a>
impl<'a> UnwindSafe for AccelerationStructureBuildSizesInfoKHR<'a>
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