A dictionary of GLSL source code snippets for customizing the shader programs provided by SceneKit.
- iOS 8.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The dictionary’s keys must be from the set of constants described in Shader Modifier Entry Point Keys. Each key represents a possible entry point in SceneKit’s shader programs, whose corresponding value is an
NSString object containing a shader source code snippet to be included in the shader program at that entry point.
See Use Shader Modifiers to Extend SceneKit Shading in the protocol overview for a complete discussion of shader modifiers.