Skip to content

Commit 6e47172

Browse files
committed
Update spec.
1 parent a93e921 commit 6e47172

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/api-specs/ray_tracing.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ can be found with their definitions.
2121
A [`Blas`] can be created with [`Device::create_blas`].
2222
A [`Tlas`] can be created with [`Device::create_tlas`].
2323

24-
Unless one is planning on using the unsafe building API (not recommended for beginners) a [`Tlas`] should be put inside
25-
a [`TlasPackage`]. After that a reference to the [`Tlas`] can be retrieved by calling [`TlasPackage::tlas`].
26-
This reference can be placed in a bind group to be used in a shader. A reference to a [`Blas`] can
24+
The [`Tlas`] reference can be placed in a bind group to be used in a shader. A reference to a [`Blas`] can
2725
be used to create [`TlasInstance`] alongside a transformation matrix, a custom index
2826
(this can be any data that should be given to the shader on a hit) which only the first 24
2927
bits may be set, and a mask to filter hits in the shader.
@@ -39,8 +37,6 @@ Before a [`Tlas`] is used in a shader it must
3937
[`Tlas`]: https://wgpu.rs/doc/wgpu/struct.Tlas.html
4038
[`Blas`]: https://wgpu.rs/doc/wgpu/struct.Blas.html
4139
[`TlasInstance`]: https://wgpu.rs/doc/wgpu/struct.TlasInstance.html
42-
[`TlasPackage`]: https://wgpu.rs/doc/wgpu/struct.TlasPackage.html
43-
[`TlasPackage::tlas`]: https://wgpu.rs/doc/wgpu/struct.TlasPackage.html#method.tlas
4440

4541
## `naga`'s raytracing API:
4642

0 commit comments

Comments
 (0)