The signature for a block called for binding or unbinding a GLSL symbol in a custom program.
- iOS 8.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The block takes the following parameters:
The OpenGL program identifier for the current
SCNPrograminstance, as used by OpenGL functions such as
The OpenGL location index for the symbol to be bound or unbound, as used by OpenGL functions such as
SCNNodeobject being rendered.
SCNRendererobject responsible for rendering.