Skip to main content

Module types

Module types 

Source
Expand description

Core BVH types: AABB, primitives, nodes, flat nodes, and ray-hit results.

Structsยง

Aabb
An axis-aligned bounding box stored as two [f32; 3] corners.
BvhNode
A node in the recursive BVH tree.
BvhPrimitive
A leaf primitive: an AABB together with the logical object it belongs to.
BvhStats
Runtime statistics about a BVH tree.
BvhTreeStatistics
Extended BVH tree statistics including average fan-out.
FlatBvhNode
A single node in the linearised (flat) BVH representation.
GpuRay
A ray for GPU BVH traversal.
LbvhPrimitive
LBVH primitive: AABB + Morton code.
MortonCluster
A cluster of Morton-coded primitives, with a pre-computed bounding radius.
RayHit
Result of a closest-hit ray traversal.