Instance Property

opaque

A Boolean value that indicates whether fragments rendered by the program are fully opaque.

Declaration

@property(nonatomic, getter=isOpaque) BOOL opaque;

Discussion

The default value is YES, indicating that all fragments rendered by the program are fully opaque. In this case, SceneKit can composite these fragments into the final image without blending, improving rendering performance.

If your shader program renders fragment colors whose alpha value is less than 1.0, change this property’s value to NO for proper blending.