rtcNewBVH(3)

rtcNewBVH3

Name

rtcNewBVH - creates a new BVH object

Synopsis

#include <embree4/rtcore.h>
RTCBVH rtcNewBVH(RTCDevice device);

Description

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 rtcReleaseBVH API call.

The BVH object can be used to build a BVH in a user-specified format over user-specified primitives. See the documentation of the rtcBuildBVH call for more details.

Exit status

On failure an error code is set that can be queried using rtcGetDeviceError.

See also

[rtcRetainBVH], [rtcReleaseBVH], [rtcBuildBVH]

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

From libembree-dev 4.3.3+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.