1rtcGetSceneLinearBounds(3)Embree Ray Tracing Kernels 3rtcGetSceneLinearBounds(3)
2
3
4
5 NAME
6 rtcGetSceneLinearBounds - returns the linear bounds of the scene
7
8 SYNOPSIS
9 #include <embree3/rtcore.h>
10
11 struct RTCORE_ALIGN(16) RTCLinearBounds
12 {
13 RTCBounds bounds0;
14 RTCBounds bounds1;
15 };
16
17 void rtcGetSceneLinearBounds(
18 RTCScene scene,
19 struct RTCLinearBounds* bounds_o
20 );
21
22 DESCRIPTION
23 The rtcGetSceneLinearBounds function queries the linear bounds of the
24 specified scene (scene argument) and stores them to the provided desti‐
25 nation pointer (bounds_o argument). The stored linear bounds consist
26 of bounding boxes for time 0 (bounds0 member) and time 1 (bounds1 mem‐
27 ber) as specified by the RTCLinearBounds structure. Linearly interpo‐
28 lating these bounds to a specific time t yields bounds for the geometry
29 at that time.
30
31 The provided destination pointer must be aligned to 16 bytes. The
32 function may be called only after committing the scene, otherwise the
33 result is undefined.
34
35 EXIT STATUS
36 On failure an error code is set that can be queried using rtcGetDe‐
37 viceError.
38
39 SEE ALSO
40 [rtcGetSceneBounds], [rtcCommitScene], [rtcJoinCommitScene]
41
42
43
44 rtcGetSceneLinearBounds(3)