<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNProgramDelegate/programIsOpaque(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(pl)SCNProgramDelegate(im)programIsOpaque:"
  },
  "title" : "programIsOpaque(_:)"
}
-->

# programIsOpaque(_:)

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

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

## Parameters

`program`

The queried program.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if all fragments rendered by the program are opaque; <doc://com.apple.documentation/documentation/Swift/false> if the program renders fragments whose alpha value is less than `1.0`.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)