texcoord
The semantic for texture coordinate data.
Declaration
static let texcoord: SCNGeometrySource.SemanticDiscussion
For a geometry source, this semantic identifies data containing texture mapping coordinates for each vertex in the geometry. Unlike other semantics, a geometry may contain multiple sources for texture coordinates—each corresponds to a separate mappingChannel number that you can use when associating textured materials.
For a custom shader program, you use this semantic to bind SceneKit’s texture coordinate data to one or more input attributes of the shader.
Texture coordinate data is typically an array of two-component vectors.