rtcEnableGeometry.3embree3 799 B

123456789101112131415161718192021222324252627282930313233
  1. .TH "rtcEnableGeometry" "3" "" "" "Embree Ray Tracing Kernels 3"
  2. .SS NAME
  3. .IP
  4. .nf
  5. \f[C]
  6. rtcEnableGeometry\ \-\ enables\ the\ geometry
  7. \f[]
  8. .fi
  9. .SS SYNOPSIS
  10. .IP
  11. .nf
  12. \f[C]
  13. #include\ <embree3/rtcore.h>
  14. void\ rtcEnableGeometry(RTCGeometry\ geometry);
  15. \f[]
  16. .fi
  17. .SS DESCRIPTION
  18. .PP
  19. The \f[C]rtcEnableGeometry\f[] function enables the specified geometry
  20. (\f[C]geometry\f[] argument).
  21. Only enabled geometries are rendered.
  22. Each geometry is enabled by default at construction time.
  23. .PP
  24. After enabling a geometry, the scene containing that geometry must be
  25. committed using \f[C]rtcCommitScene\f[] for the change to have effect.
  26. .SS EXIT STATUS
  27. .PP
  28. On failure an error code is set that can be queried using
  29. \f[C]rtcGetDeviceError\f[].
  30. .SS SEE ALSO
  31. .PP
  32. [rtcNewGeometry], [rtcDisableGeometry], [rtcCommitScene]