rtcGetGeometryUserData(3)

rtcGetGeometryUserData3

Name

rtcGetGeometryUserData - returns the user data pointer
  of the geometry

Synopsis

#include <embree4/rtcore.h>
void* rtcGetGeometryUserData(RTCGeometry geometry);

Description

The rtcGetGeometryUserData function queries the user data pointer previously set with rtcSetGeometryUserData. When rtcSetGeometryUserData was not called yet, NULL is returned.

This function is supposed to be used during rendering, but only supported on the CPU and not inside SYCL kernels on the GPU. Inside a SYCL kernel the rtcGetGeometryUserDataFromScene function has to get used.

Exit status

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

See also

[rtcSetGeometryUserData], [rtcGetGeometryUserDataFromScene]

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.