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

Method setSubdivisionMode

kernels/common/scene_subdiv_mesh.cpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 void SubdivMesh::setSubdivisionMode (unsigned topologyID, RTCSubdivisionMode mode)
67 {
68 if (topologyID >= topology.size())
69 throw_RTCError(RTC_ERROR_INVALID_OPERATION,"invalid topology ID");
70 topology[topologyID].setSubdivisionMode(mode);
71 Geometry::update();
72 }
73
74 void SubdivMesh::setVertexAttributeTopology(unsigned int vertexAttribID, unsigned int topologyID)
75 {

Callers 1

Calls 2

sizeMethod · 0.45
updateBufferMethod · 0.45

Tested by

no test coverage detected