Docs / Ray tracing

Ray tracing glossary: meshes and the scene

The mesh interface, the BLAS, the TLAS and its instances, the update result, the flags and the hit, one page per type.

Each type has a page listing its members in alphabetical order, each with its type or signature and what it does. The sidebar lists the members of each type under its name.

Type What it is
ITriangleMesh Your mesh as the library reads it: a triangle count and three positions per triangle.
MeshBlas A tree over one mesh’s triangles, in the mesh’s own space, shared by every instance of it.
Tlas The scene: a tree over instances, declared every frame, with the CPU queries.
TlasInstance One instance as the scene keeps it: its id, its BLAS, its matrix and its flags.
TlasUpdateResult What an update did to the tree: nothing, a refit or a rebuild.
RayTracingFlags Flags: the queries an instance takes part in, and a query’s mask.
RayHit What a closest hit found: the distance, the instance, the triangle and where in it.