MCPcopy Create free account
hub / github.com/RenderKit/embree / rtcSetGeometrySubdivisionMode

Function rtcSetGeometrySubdivisionMode

kernels/common/rtcore.cpp:1825–1833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1823 }
1824
1825 RTC_API void rtcSetGeometrySubdivisionMode (RTCGeometry hgeometry, unsigned topologyID, RTCSubdivisionMode mode)
1826 {
1827 Geometry* geometry = (Geometry*) hgeometry;
1828 RTC_CATCH_BEGIN;
1829 RTC_TRACE(rtcSetGeometrySubdivisionMode);
1830 RTC_VERIFY_HANDLE(hgeometry);
1831 geometry->setSubdivisionMode(topologyID,mode);
1832 RTC_CATCH_END2(geometry);
1833 }
1834
1835 RTC_API void rtcSetGeometryVertexAttributeTopology(RTCGeometry hgeometry, unsigned int vertexAttributeID, unsigned int topologyID)
1836 {

Callers 4

addGeometryMethod · 0.85
convertSubdivMeshFunction · 0.85
commitMethod · 0.85

Calls 1

setSubdivisionModeMethod · 0.80

Tested by

no test coverage detected