Instance Method

programIsOpaque(_:)

Asks the delegate whether fragments rendered by a program are opaque.

Declaration

optional func programIsOpaque(_ program: SCNProgram) -> Bool

Parameters

Program

The queried program.

Return Value

true if all fragments rendered by the program are opaque; false if the program renders fragments whose alpha value is less than 1.0.