1rtcNewBVH(3) Embree Ray Tracing Kernels 4 rtcNewBVH(3)
2
3
4
5 NAME
6 rtcNewBVH - creates a new BVH object
7
8 SYNOPSIS
9 #include <embree4/rtcore.h>
10
11 RTCBVH rtcNewBVH(RTCDevice device);
12
13 DESCRIPTION
14 This function creates a new BVH object and returns a handle to this
15 BVH. The BVH object is reference counted with an initial reference
16 count of 1. The handle can be released using the rtcReleaseBVH API
17 call.
18
19 The BVH object can be used to build a BVH in a user-specified format
20 over user-specified primitives. See the documentation of the rtcBuild‐
21 BVH call for more details.
22
23 EXIT STATUS
24 On failure an error code is set that can be queried using rtcGetDe‐
25 viceError.
26
27 SEE ALSO
28 [rtcRetainBVH], [rtcReleaseBVH], [rtcBuildBVH]
29
30
31
32 rtcNewBVH(3)