<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/Image/TemplateRenderingMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI5ImageV21TemplateRenderingModeO"
  },
  "title" : "Image.TemplateRenderingMode"
}
-->

# Image.TemplateRenderingMode

A type that indicates how SwiftUI renders images.

```
enum TemplateRenderingMode
```

## Topics

### Getting rendering modes

[`Image.TemplateRenderingMode.original`](/documentation/SwiftUI/Image/TemplateRenderingMode/original)

A mode that renders pixels of bitmap images as-is.

[`Image.TemplateRenderingMode.template`](/documentation/SwiftUI/Image/TemplateRenderingMode/template)

A mode that renders all non-transparent pixels as the foreground
color.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

---

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)