rtcGetGeometryBufferData.3embree3 838 B

123456789101112131415161718192021222324252627282930313233343536
  1. .TH "rtcGetGeometryBufferData" "3" "" "" "Embree Ray Tracing Kernels 3"
  2. .SS NAME
  3. .IP
  4. .nf
  5. \f[C]
  6. rtcGetGeometryBufferData\ \-\ gets\ pointer\ to
  7. \ \ the\ first\ buffer\ view\ element
  8. \f[]
  9. .fi
  10. .SS SYNOPSIS
  11. .IP
  12. .nf
  13. \f[C]
  14. #include\ <embree3/rtcore.h>
  15. void*\ rtcGetGeometryBufferData(
  16. \ \ RTCGeometry\ geometry,
  17. \ \ enum\ RTCBufferType\ type,
  18. \ \ unsigned\ int\ slot
  19. );
  20. \f[]
  21. .fi
  22. .SS DESCRIPTION
  23. .PP
  24. The \f[C]rtcGetGeometryBufferData\f[] function returns a pointer to the
  25. first element of the buffer view attached to the specified buffer type
  26. and slot (\f[C]type\f[] and \f[C]slot\f[] argument) of the geometry
  27. (\f[C]geometry\f[] argument).
  28. .SS EXIT STATUS
  29. .PP
  30. On failure an error code is set that can be queried using
  31. \f[C]rtcGetDeviceError\f[].
  32. .SS SEE ALSO
  33. .PP
  34. [rtcSetGeometryBuffer], [rtcSetSharedGeometryBuffer],
  35. [rtcSetNewGeometryBuffer]