# TextureTester

Artifact: [androidx.xr.scenecore:scenecore-testing](https://developer.android.com/jetpack/androidx/releases/xr-scenecore) [View Source](https://cs.android.com/search?q=file:androidx/xr/scenecore/testing/TextureTester.kt+class:androidx.xr.scenecore.testing.TextureTester) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

*** ** * ** ***


```
class TextureTester
```

<br />

*** ** * ** ***

A data container for inspecting the properties of a `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/Texture` resource.

## Summary

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/TextureTester#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/TextureTester#hashCode()()` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/java/nio/file/Path.html` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/TextureTester#path()` The path used to load this `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/Texture`, relative to the application's `assets/` folder. |

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

## Public properties

### path

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

```
val path: Path
```

The path used to load this `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/Texture`, relative to the application's `assets/` folder.

This matches the `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/TextureTester#path()` parameter provided in `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/Texture#create(androidx.xr.runtime.Session,java.nio.file.Path)`.

This value is guaranteed to be a relative path string pointing to a texture asset within the `assets/` directory (e.g., "models/texture.png") or a valid URL.