Struct wgpu::TlasBuildEntry
source · pub struct TlasBuildEntry<'a> {
pub tlas: &'a Tlas,
pub instance_buffer: &'a Buffer,
pub instance_count: u32,
}
Expand description
Entry for a top level acceleration structure build. Used with raw instance buffers for an unvalidated builds. See TlasPackage for the safe version.
Fields§
§tlas: &'a Tlas
Reference to the acceleration structure.
instance_buffer: &'a Buffer
Reference to the raw instance buffer, each instance is similar to TlasInstance but contains a handle to the BLAS.
instance_count: u32
Number of instances in the instance buffer.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for TlasBuildEntry<'a>
impl<'a> Send for TlasBuildEntry<'a>
impl<'a> Sync for TlasBuildEntry<'a>
impl<'a> Unpin for TlasBuildEntry<'a>
impl<'a> !UnwindSafe for TlasBuildEntry<'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