# 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)

*** ** * ** ***


```
public final class TextureTester
```

<br />

*** ** * ** ***

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

## Summary

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/xr/scenecore/testing/TextureTester#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/nio/file/Path.html` | `@https://developer.android.com/reference/androidx/annotation/RequiresApi(value = 26) https://developer.android.com/reference/androidx/xr/scenecore/testing/TextureTester#getPath()()` The path used to load this `https://developer.android.com/reference/androidx/xr/scenecore/Texture`, relative to the application's `assets/` folder. |
| `int` | `https://developer.android.com/reference/androidx/xr/scenecore/testing/TextureTester#hashCode()()` |

## Public methods

### equals

```
public boolean equals(Object other)
```

### getPath

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

```
@RequiresApi(value = 26)
public final @NonNull Path getPath()
```

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

This matches the `https://developer.android.com/reference/androidx/xr/scenecore/testing/TextureTester#path()` parameter provided in `https://developer.android.com/reference/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.

### hashCode

```
public int hashCode()
```