1rtcSetGeometryTessellationERmabtree(e3)Ray Tracing KerrtnceSlestG3eometryTessellationRate(3)
2
3
4
5 NAME
6 rtcSetGeometryTessellationRate - sets the tessellation rate of the
7 geometry
8
9 SYNOPSIS
10 #include <embree3/rtcore.h>
11
12 void rtcSetGeometryTessellationRate(
13 RTCGeometry geometry,
14 float tessellationRate
15 );
16
17 DESCRIPTION
18 The rtcSetGeometryTessellationRate function sets the tessellation rate
19 (tessellationRate argument) for the specified geometry (geometry argu‐
20 ment). The tessellation rate can only be set for flat curves and sub‐
21 division geometries. For curves, the tessellation rate specifies the
22 number of ray-facing quads per curve segment. For subdivision sur‐
23 faces, the tessellation rate specifies the number of quads along each
24 edge.
25
26 EXIT STATUS
27 On failure an error code is set that can be queried using rtcGetDe‐
28 viceError.
29
30 SEE ALSO
31 [RTC_GEOMETRY_TYPE_CURVE], [RTC_GEOMETRY_TYPE_SUBDIVISION]
32
33
34
35 rtcSetGeometryTessellationRate(3)