rtcSetGeometrySubdivisionMode(3) | Embree Ray Tracing Kernels 3 | rtcSetGeometrySubdivisionMode(3) |
rtcSetGeometrySubdivisionMode - sets the subdivision mode
of a subdivision geometry
#include <embree3/rtcore.h> void rtcSetGeometrySubdivisionMode(
RTCGeometry geometry,
unsigned int topologyID,
enum RTCSubdivisionMode mode );
The rtcSetGeometrySubdivisionMode function sets the subdivision mode (mode parameter) for the topology (topologyID parameter) of the specified subdivision geometry (geometry parameter).
The subdivision modes can be used to force linear interpolation for certain parts of the subdivision mesh:
On failure an error code is set that can be queried using rtcGetDeviceError.
[RTC_GEOMETRY_TYPE_SUBDIVISION]