---
title: "==(_:_:)"
framework: realitykit
role: symbol
role_heading: Operator
path: "realitykit/textureresource/==(_:_:)"
---

# ==(_:_:)

Indicates whether two texture resources are equal.

## Declaration

```swift
@MainActor @preconcurrency static func == (lhs: TextureResource, rhs: TextureResource) -> Bool
```

## Parameters

- `lhs`: The first texture resource to compare.
- `rhs`: The second texture resource to compare.

## Return Value

Return Value A Boolean value set to true if the two texture resources are equal.
