Struct ash::vk::AccelerationStructureBuildGeometryInfoKHR
source · #[repr(C)]pub struct AccelerationStructureBuildGeometryInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub ty: AccelerationStructureTypeKHR,
pub flags: BuildAccelerationStructureFlagsKHR,
pub mode: BuildAccelerationStructureModeKHR,
pub src_acceleration_structure: AccelerationStructureKHR,
pub dst_acceleration_structure: AccelerationStructureKHR,
pub geometry_count: u32,
pub p_geometries: *const AccelerationStructureGeometryKHR<'a>,
pub pp_geometries: *const *const AccelerationStructureGeometryKHR<'a>,
pub scratch_data: DeviceOrHostAddressKHR,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§ty: AccelerationStructureTypeKHR
§flags: BuildAccelerationStructureFlagsKHR
§mode: BuildAccelerationStructureModeKHR
§src_acceleration_structure: AccelerationStructureKHR
§dst_acceleration_structure: AccelerationStructureKHR
§geometry_count: u32
§p_geometries: *const AccelerationStructureGeometryKHR<'a>
§pp_geometries: *const *const AccelerationStructureGeometryKHR<'a>
§scratch_data: DeviceOrHostAddressKHR
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> AccelerationStructureBuildGeometryInfoKHR<'a>
impl<'a> AccelerationStructureBuildGeometryInfoKHR<'a>
pub fn ty(self, ty: AccelerationStructureTypeKHR) -> Self
pub fn flags(self, flags: BuildAccelerationStructureFlagsKHR) -> Self
pub fn mode(self, mode: BuildAccelerationStructureModeKHR) -> Self
pub fn src_acceleration_structure( self, src_acceleration_structure: AccelerationStructureKHR, ) -> Self
pub fn dst_acceleration_structure( self, dst_acceleration_structure: AccelerationStructureKHR, ) -> Self
pub fn geometries( self, geometries: &'a [AccelerationStructureGeometryKHR<'a>], ) -> Self
pub fn geometries_ptrs( self, geometries_ptrs: &'a [&'a AccelerationStructureGeometryKHR<'a>], ) -> Self
pub fn scratch_data(self, scratch_data: DeviceOrHostAddressKHR) -> Self
Trait Implementations§
source§impl<'a> Clone for AccelerationStructureBuildGeometryInfoKHR<'a>
impl<'a> Clone for AccelerationStructureBuildGeometryInfoKHR<'a>
source§fn clone(&self) -> AccelerationStructureBuildGeometryInfoKHR<'a>
fn clone(&self) -> AccelerationStructureBuildGeometryInfoKHR<'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 Debug for AccelerationStructureBuildGeometryInfoKHR<'_>
impl Debug for AccelerationStructureBuildGeometryInfoKHR<'_>
source§impl Default for AccelerationStructureBuildGeometryInfoKHR<'_>
impl Default for AccelerationStructureBuildGeometryInfoKHR<'_>
source§impl<'a> TaggedStructure for AccelerationStructureBuildGeometryInfoKHR<'a>
impl<'a> TaggedStructure for AccelerationStructureBuildGeometryInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::ACCELERATION_STRUCTURE_BUILD_GEOMETRY_INFO_KHR
impl<'a> Copy for AccelerationStructureBuildGeometryInfoKHR<'a>
impl Send for AccelerationStructureBuildGeometryInfoKHR<'_>
impl Sync for AccelerationStructureBuildGeometryInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for AccelerationStructureBuildGeometryInfoKHR<'a>
impl<'a> RefUnwindSafe for AccelerationStructureBuildGeometryInfoKHR<'a>
impl<'a> Unpin for AccelerationStructureBuildGeometryInfoKHR<'a>
impl<'a> UnwindSafe for AccelerationStructureBuildGeometryInfoKHR<'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