RRAABBListPrimitive

Description

AABB list primitive.

AABB list is an array of axis aligned bounding boxes, represented by device memory pointer and stride between two consequetive boxes. Each AABB is a pair of float4 values (xmin, ymin, zmin, unused), (xmax, ymax, zmax, unused).

Applies to

All supported backends

Items

Name

Type

Description

aabbs

RRDevicePtr

Device pointer to AABB data.

aabb_count

uint32_t

Number of AABBs in the array.

aabb_stride

uint32_t

Stride in bytes between two AABBs.