rtcSetGeometryTessellationRate.3embree3 1008 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. .TH "rtcSetGeometryTessellationRate" "3" "" "" "Embree Ray Tracing Kernels 3"
  2. .SS NAME
  3. .IP
  4. .nf
  5. \f[C]
  6. rtcSetGeometryTessellationRate\ \-\ sets\ the\ tessellation\ rate\ of\ the
  7. \ \ geometry
  8. \f[]
  9. .fi
  10. .SS SYNOPSIS
  11. .IP
  12. .nf
  13. \f[C]
  14. #include\ <embree3/rtcore.h>
  15. void\ rtcSetGeometryTessellationRate(
  16. \ \ RTCGeometry\ geometry,
  17. \ \ float\ tessellationRate
  18. );
  19. \f[]
  20. .fi
  21. .SS DESCRIPTION
  22. .PP
  23. The \f[C]rtcSetGeometryTessellationRate\f[] function sets the
  24. tessellation rate (\f[C]tessellationRate\f[] argument) for the specified
  25. geometry (\f[C]geometry\f[] argument).
  26. The tessellation rate can only be set for flat curves and subdivision
  27. geometries.
  28. For curves, the tessellation rate specifies the number of ray\-facing
  29. quads per curve segment.
  30. For subdivision surfaces, the tessellation rate specifies the number of
  31. quads along each edge.
  32. .SS EXIT STATUS
  33. .PP
  34. On failure an error code is set that can be queried using
  35. \f[C]rtcGetDeviceError\f[].
  36. .SS SEE ALSO
  37. .PP
  38. [RTC_GEOMETRY_TYPE_CURVE], [RTC_GEOMETRY_TYPE_SUBDIVISION]