Function wgpu_core::command::ray_tracing::iter_buffers
source ยท fn iter_buffers<'a, 'b>(
buf_storage: &'a mut Vec<TriangleBufferStore<'b>>,
snatch_guard: &'a SnatchGuard<'_>,
input_barriers: &mut Vec<BufferBarrier<'a, dyn DynBuffer>>,
cmd_buf_data: &mut CommandBufferMutable,
scratch_buffer_blas_size: &mut u64,
blas_storage: &mut Vec<BlasStore<'a>>,
hub: &Hub,
ray_tracing_scratch_buffer_alignment: u32,
) -> Result<(), BuildAccelerationStructureError>
Expand description
Iterates over the buffers generated in iter_blas, convert the barriers into hal barriers, and the triangles into hal::AccelerationStructureEntries (and also some validation).