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

Function rtcSetGeometryTimeStepCount

kernels/common/rtcore.cpp:1737–1749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1735 }
1736
1737 RTC_API void rtcSetGeometryTimeStepCount(RTCGeometry hgeometry, unsigned int timeStepCount)
1738 {
1739 Geometry* geometry = (Geometry*) hgeometry;
1740 RTC_CATCH_BEGIN;
1741 RTC_TRACE(rtcSetGeometryTimeStepCount);
1742 RTC_VERIFY_HANDLE(hgeometry);
1743
1744 if (timeStepCount > RTC_MAX_TIME_STEP_COUNT)
1745 throw_RTCError(RTC_ERROR_INVALID_ARGUMENT,"number of time steps is out of range");
1746
1747 geometry->setNumTimeSteps(timeStepCount);
1748 RTC_CATCH_END2(geometry);
1749 }
1750
1751 RTC_API void rtcSetGeometryTimeRange(RTCGeometry hgeometry, float startTime, float endTime)
1752 {

Callers 15

device_initFunction · 0.85
addSphereFunction · 0.85
addTriangleCubeFunction · 0.85
addQuadCubeFunction · 0.85
addSubdivCubeFunction · 0.85
addCurveFunction · 0.85
addLinesFunction · 0.85
addInstancedTriangleCubeFunction · 0.85
addInstancedQuadCubeFunction · 0.85
addUserGeometrySphereFunction · 0.85
addGeometryMethod · 0.85

Calls 1

setNumTimeStepsMethod · 0.45

Tested by

no test coverage detected