rtcSetGeometryVertexAttributeCount.3embree3 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. .TH "rtcSetGeometryTimeStepCount" "3" "" "" "Embree Ray Tracing Kernels 3"
  2. .SS NAME
  3. .IP
  4. .nf
  5. \f[C]
  6. rtcSetGeometryVertexAttributeCount\ \-\ sets\ the\ number\ of\ vertex
  7. \ \ attributes\ of\ the\ geometry
  8. \f[]
  9. .fi
  10. .SS SYNOPSIS
  11. .IP
  12. .nf
  13. \f[C]
  14. #include\ <embree3/rtcore.h>
  15. void\ rtcSetGeometryVertexAttributeCount(
  16. \ \ RTCGeometry\ geometry,
  17. \ \ unsigned\ int\ vertexAttributeCount
  18. );
  19. \f[]
  20. .fi
  21. .SS DESCRIPTION
  22. .PP
  23. The \f[C]rtcSetGeometryVertexAttributeCount\f[] function sets the number
  24. of slots (\f[C]vertexAttributeCount\f[] parameter) for vertex attribute
  25. buffers (\f[C]RTC_BUFFER_TYPE_VERTEX_ATTRIBUTE\f[]) that can be used for
  26. the specified geometry (\f[C]geometry\f[] parameter).
  27. .PP
  28. This function is supported only for triangle meshes
  29. (\f[C]RTC_GEOMETRY_TYPE_TRIANGLE\f[]), quad meshes
  30. (\f[C]RTC_GEOMETRY_TYPE_QUAD\f[]), curves
  31. (\f[C]RTC_GEOMETRY_TYPE_CURVE\f[]), points
  32. (\f[C]RTC_GEOMETRY_TYPE_POINT\f[]), and subdivision geometries
  33. (\f[C]RTC_GEOMETRY_TYPE_SUBDIVISION\f[]).
  34. .SS EXIT STATUS
  35. .PP
  36. On failure an error code is set that can be queried using
  37. \f[C]rtcGetDeviceError\f[].
  38. .SS SEE ALSO
  39. .PP
  40. [rtcNewGeometry], [RTCBufferType]