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

Method commit

tutorials/common/tutorial/scene_device.cpp:194–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 }
193
194 void ISPCScene::commit()
195 {
196 for (unsigned int geomID=0; geomID<numGeometries; geomID++)
197 {
198 ISPCGeometry* geometry = geometries[geomID];
199 rtcAttachGeometryByID(scene,geometry->geometry,geomID);
200 }
201
202 rtcCommitScene(scene);
203 }
204
205 ISPCTriangleMesh::ISPCTriangleMesh (RTCDevice device, unsigned int numTriangles, unsigned int numVertices, bool hasNormals, bool hasTexcoords, unsigned int numTimeSteps)
206 : geom(TRIANGLE_MESH),

Callers 11

runMethod · 0.45
ConvertTriangleMeshFunction · 0.45
ConvertQuadMeshFunction · 0.45
ConvertGridMeshFunction · 0.45
ConvertSubdivMeshFunction · 0.45
ConvertCurveGeometryFunction · 0.45
ConvertPointsFunction · 0.45
ConvertGroupFunction · 0.45
ConvertInstanceFunction · 0.45
ConvertInstanceArrayFunction · 0.45
UpdateSceneFunction · 0.45

Tested by

no test coverage detected