InEdgeFunc and InTriFunc functions will be evaluated on all edges and triangles respectively to determine their desired tessellation levels. This can be helpful when the tessellation levels depend on some condition. For example, how close/far the edge/triangle is from some point in space.