Instance Property

delegate

The delegate of the program object.

Declaration

unowned(unsafe) var delegate: SCNProgramDelegate? { get set }

Discussion

An SCNProgram object sends delegate messages if errors occur when compiling GLSL source code.

See Also

Providing a Delegate Object

protocol SCNProgramDelegate

The interface for tracking errors that occur when compiling shader source code.