# ExternalTextureRotation

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

*** ** * ** ***


```
@ExperimentalWebGpuApi
public final class ExternalTextureRotation
```

<br />

*** ** * ** ***

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/ExternalTextureRotation#Rotate0Degrees() = 1` |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/ExternalTextureRotation#Rotate180Degrees() = 3` |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/ExternalTextureRotation#Rotate270Degrees() = 4` |
| `static final int` | `https://developer.android.com/reference/androidx/webgpu/ExternalTextureRotation#Rotate90Degrees() = 2` |

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/webgpu/ExternalTextureRotation#toString(kotlin.Int)(int value)` |

## Constants

### Rotate0Degrees

```
public static final int Rotate0Degrees = 1
```

### Rotate180Degrees

```
public static final int Rotate180Degrees = 3
```

### Rotate270Degrees

```
public static final int Rotate270Degrees = 4
```

### Rotate90Degrees

```
public static final int Rotate90Degrees = 2
```

## Public methods

### toString

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

```
public static final @NonNull String toString(int value)
```