rtcSetGeometryUserPrimitiveCount.3embree3 771 B

123456789101112131415161718192021222324252627282930313233
  1. .TH "rtcSetGeometryUserPrimitiveCount" "3" "" "" "Embree Ray Tracing Kernels 3"
  2. .SS NAME
  3. .IP
  4. .nf
  5. \f[C]
  6. rtcSetGeometryUserPrimitiveCount\ \-\ sets\ the\ number\ of\ primitives
  7. \ \ of\ a\ user\-defined\ geometry
  8. \f[]
  9. .fi
  10. .SS SYNOPSIS
  11. .IP
  12. .nf
  13. \f[C]
  14. #include\ <embree3/rtcore.h>
  15. void\ rtcSetGeometryUserPrimitiveCount(
  16. \ \ RTCGeometry\ geometry,
  17. \ \ unsigned\ int\ userPrimitiveCount
  18. );
  19. \f[]
  20. .fi
  21. .SS DESCRIPTION
  22. .PP
  23. The \f[C]rtcSetGeometryUserPrimitiveCount\f[] function sets the number
  24. of user\-defined primitives (\f[C]userPrimitiveCount\f[] parameter) of
  25. the specified user\-defined geometry (\f[C]geometry\f[] parameter).
  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. [RTC_GEOMETRY_TYPE_USER]