hiprtAABBListPrimitive
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).
Name |
Type |
Description |
---|---|---|
aabbs |
hiprtDevicePtr |
Device pointer to AABB data. |
aabbCount |
uint32_t |
Number of AABBs in the array. |
aabbStride |
uint32_t |
Stride in bytes between two AABBs. |