program(_:handleError:)
Tells the delegate that an error occurred when compiling GLSL source code.
Declaration
optional func program(_ program: SCNProgram, handleError error: any Error)Parameters
- program:
The program that generated the compilation error.
- error:
The compilation error that was raised.
Discussion
Examine the error parameter for details of the compilation error provided by the GLSL compiler.