1rtcUpdateGeometryBuffer(3)Embree Ray Tracing Kernels 3rtcUpdateGeometryBuffer(3)
2
3
4
5   NAME
6              rtcUpdateGeometryBuffer - marks a buffer view bound to the geometry
7                as modified
8
9   SYNOPSIS
10              #include <embree3/rtcore.h>
11
12              void rtcUpdateGeometryBuffer(
13                RTCGeometry geometry,
14                enum RTCBufferType type,
15                unsigned int slot
16              );
17
18   DESCRIPTION
19       The rtcUpdateGeometryBuffer function marks the buffer view bound to the
20       specified buffer type and slot (type and slot argument) of  a  geometry
21       (geometry argument) as modified.
22
23       If  a data buffer is changed by the application, the rtcUpdateGeometry‐
24       Buffer call must be invoked for that buffer.  Each buffer view assigned
25       to  a  buffer  slot is initially marked as modified, thus this function
26       needs to be called only when doing buffer modifications after the first
27       rtcCommitScene.
28
29   EXIT STATUS
30       On  failure  an  error  code is set that can be queried using rtcGetDe‐
31       viceError.
32
33   SEE ALSO
34       [rtcNewGeometry], [rtcCommitScene]
35
36
37
38                                                    rtcUpdateGeometryBuffer(3)
Impressum