.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "rtcUpdateGeometryBuffer" "3" "" "" "Embree Ray Tracing Kernels 4"
.hy
.SS NAME
.IP
.nf
\f[C]
rtcUpdateGeometryBuffer - marks a buffer view bound to the geometry
  as modified
\f[R]
.fi
.SS SYNOPSIS
.IP
.nf
\f[C]
#include <embree4/rtcore.h>

void rtcUpdateGeometryBuffer(
  RTCGeometry geometry,
  enum RTCBufferType type,
  unsigned int slot
);
\f[R]
.fi
.SS DESCRIPTION
.PP
The \f[C]rtcUpdateGeometryBuffer\f[R] function marks the buffer view
bound to the specified buffer type and slot (\f[C]type\f[R] and
\f[C]slot\f[R] argument) of a geometry (\f[C]geometry\f[R] argument) as
modified.
.PP
If a data buffer is changed by the application, the
\f[C]rtcUpdateGeometryBuffer\f[R] call must be invoked for that buffer.
Each buffer view assigned to a buffer slot is initially marked as
modified, thus this function needs to be called only when doing buffer
modifications after the first \f[C]rtcCommitScene\f[R].
.SS EXIT STATUS
.PP
On failure an error code is set that can be queried using
\f[C]rtcGetDeviceError\f[R].
.SS SEE ALSO
.PP
[rtcNewGeometry], [rtcCommitScene]
