---
title: isOpaque
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/imagerenderer/isopaque
---

# isOpaque

A Boolean value that indicates whether the alpha channel of the image is fully opaque.

## Declaration

```swift
@MainActor final var isOpaque: Bool { get set }
```

## Discussion

Discussion Setting this value to true, meaning the alpha channel is opaque, may improve performance. Don’t render non-opaque pixels to a renderer declared as opaque. This property defaults to false.

## See Also

### Accessing renderer properties

- [proposedSize](swiftui/imagerenderer/proposedsize.md)
- [scale](swiftui/imagerenderer/scale.md)
- [colorMode](swiftui/imagerenderer/colormode.md)
- [allowedDynamicRange](swiftui/imagerenderer/alloweddynamicrange.md)
