Function wgpu_core::command::ray_tracing::iter_blas

source ·
fn iter_blas<'a>(
    blas_iter: impl Iterator<Item = BlasBuildEntry<'a>>,
    cmd_buf_data: &mut CommandBufferMutable,
    build_command_index: NonZeroU64,
    buf_storage: &mut Vec<TriangleBufferStore<'a>>,
    hub: &Hub,
    device: &Device,
) -> Result<(), BuildAccelerationStructureError>
Expand description

iterates over the blas iterator, and it’s geometry, pushing the buffers into a storage vector (and also some validation).