The semantic for edge crease data, used for subdividing surfaces.
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 2.0+
For a geometry source, this semantic identifies data containing crease data for each vertex in the geometry. SceneKit uses this information to determine the sharpness of edges and smoothness of surfaces when you change a geometry’s
For a custom shader program, you use this semantic to bind SceneKit’s edge crease data to an input attribute of the shader.
Edge crease data is an array of scalar floating-point values, where each value determines the smoothness or sharpness of the edge identified by the primitive at the corresponding index in the geometry’s SceneKit Constants geometry element: A value of
0 specifies a completely smoothed edge, and a value of
10 or greater specifies an infinitely sharp edge.