| 12345678910111213141516171819202122232425262728293031323334 |
- .TH "rtcNewBVH" "3" "" "" "Embree Ray Tracing Kernels 3"
- .SS NAME
- .IP
- .nf
- \f[C]
- rtcNewBVH\ \-\ creates\ a\ new\ BVH\ object
- \f[]
- .fi
- .SS SYNOPSIS
- .IP
- .nf
- \f[C]
- #include\ <embree3/rtcore.h>
- RTCBVH\ rtcNewBVH(RTCDevice\ device);
- \f[]
- .fi
- .SS DESCRIPTION
- .PP
- This function creates a new BVH object and returns a handle to this BVH.
- The BVH object is reference counted with an initial reference count of
- 1.
- The handle can be released using the \f[C]rtcReleaseBVH\f[] API call.
- .PP
- The BVH object can be used to build a BVH in a user\-specified format
- over user\-specified primitives.
- See the documentation of the \f[C]rtcBuildBVH\f[] call for more details.
- .SS EXIT STATUS
- .PP
- On failure an error code is set that can be queried using
- \f[C]rtcGetDeviceError\f[].
- .SS SEE ALSO
- .PP
- [rtcRetainBVH], [rtcReleaseBVH], [rtcBuildBVH]
|