pub struct UpdateAccelerationStructureInfo {
pub dst_accel_struct: AnyAccelerationStructureNode,
pub scratch_addr: DeviceOrHostAddress,
pub src_accel_struct: AnyAccelerationStructureNode,
pub update_data: AccelerationStructureGeometryInfo<(AccelerationStructureGeometry, AccelerationStructureBuildRangeInfoKHR)>,
}Expand description
Specifies the information and data used to update an acceleration structure.
Fields§
§dst_accel_struct: AnyAccelerationStructureNodeThe acceleration structure to be written.
scratch_addr: DeviceOrHostAddressThe temporary buffer or host address (with enough capacity per
AccelerationStructure::size_of).
src_accel_struct: AnyAccelerationStructureNodeThe source acceleration structure to be read.
update_data: AccelerationStructureGeometryInfo<(AccelerationStructureGeometry, AccelerationStructureBuildRangeInfoKHR)>Specifies the geometry data to use when updating the acceleration structure.
Implementations§
Source§impl UpdateAccelerationStructureInfo
impl UpdateAccelerationStructureInfo
Sourcepub fn new(
src_accel_struct: impl Into<AnyAccelerationStructureNode>,
dst_accel_struct: impl Into<AnyAccelerationStructureNode>,
scratch_addr: impl Into<DeviceOrHostAddress>,
update_data: AccelerationStructureGeometryInfo<(AccelerationStructureGeometry, AccelerationStructureBuildRangeInfoKHR)>,
) -> Self
pub fn new( src_accel_struct: impl Into<AnyAccelerationStructureNode>, dst_accel_struct: impl Into<AnyAccelerationStructureNode>, scratch_addr: impl Into<DeviceOrHostAddress>, update_data: AccelerationStructureGeometryInfo<(AccelerationStructureGeometry, AccelerationStructureBuildRangeInfoKHR)>, ) -> Self
Constructs new acceleration structure update information.
Trait Implementations§
Source§impl Clone for UpdateAccelerationStructureInfo
impl Clone for UpdateAccelerationStructureInfo
Source§fn clone(&self) -> UpdateAccelerationStructureInfo
fn clone(&self) -> UpdateAccelerationStructureInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateAccelerationStructureInfo
impl RefUnwindSafe for UpdateAccelerationStructureInfo
impl Send for UpdateAccelerationStructureInfo
impl Sync for UpdateAccelerationStructureInfo
impl Unpin for UpdateAccelerationStructureInfo
impl UnsafeUnpin for UpdateAccelerationStructureInfo
impl UnwindSafe for UpdateAccelerationStructureInfo
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