22 custom_primitive_bound(in_device,
"Custom Primitive Bound",
MEM_READ_ONLY),
23 triangle_index(in_device,
"HIPRT Triangle Index",
MEM_READ_ONLY),
27 triangle_mesh = {
nullptr};
28 custom_prim_aabb = {
nullptr};
33 HIPRTDevice *hiprt_device =
static_cast<HIPRTDevice *
>(device);
34 hiprtContext hiprt_context = hiprt_device->get_hiprt_context();
35 custom_primitive_bound.free();
36 triangle_index.free();
38 hiprtDestroyGeometry(hiprt_context, hiprt_geom);
#define CCL_NAMESPACE_END