Global Variable


The semantic for vertex position data.


const SCNGeometrySourceSemantic SCNGeometrySourceSemanticVertex;


For a geometry source, this semantic identifies data containing the positions of each vertex in the geometry. If you create a custom geometry using the geometryWithSources:elements: method, you must provide a geometry source for this semantic.

For a custom shader program, you use this semantic to bind SceneKit’s vertex position data to an input attribute of the shader.

Vertex position data is typically an array of three- or four-component vectors.

See Also

Basic Geometry Semantics


The semantic for surface normal data.


The semantic for texture coordinate data.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software