# GPUTexelCopyTextureInfo

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

*** ** * ** ***


```
class GPUTexelCopyTextureInfo
```

<br />

*** ** * ** ***

Describes a texture used in a texel copy operation.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/webgpu/GPUTexelCopyTextureInfo.Builder` Builder for `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUTexelCopyTextureInfo`. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUTexelCopyTextureInfo#GPUTexelCopyTextureInfo(androidx.webgpu.GPUTexture,kotlin.Int,androidx.webgpu.GPUOrigin3D,kotlin.Int)( texture: https://developer.android.com/reference/kotlin/androidx/webgpu/GPUTexture, mipLevel: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, origin: https://developer.android.com/reference/kotlin/androidx/webgpu/GPUOrigin3D, aspect: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html )` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUTexelCopyTextureInfo#aspect()` The texture aspect to use. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUTexelCopyTextureInfo#mipLevel()` |
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUOrigin3D` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUTexelCopyTextureInfo#origin()` The origin of the copy region in the texture. |
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUTexture` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUTexelCopyTextureInfo#texture()` The texture object. |

## Public constructors

### GPUTexelCopyTextureInfo

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

```
GPUTexelCopyTextureInfo(
    texture: GPUTexture,
    mipLevel: Int = 0,
    origin: GPUOrigin3D = GPUOrigin3D(),
    aspect: Int = TextureAspect.All
)
```

## Public properties

### aspect

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

```
var aspect: Int
```

The texture aspect to use. Defaults to @see `https://developer.android.com/reference/kotlin/androidx/webgpu/TextureAspect#All()`.

Value is one of the following:

- `0`
- `1`
- `2`
- `3`

<br />

### mipLevel

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

```
var mipLevel: Int
```

### origin

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

```
var origin: GPUOrigin3D
```

The origin of the copy region in the texture.

### texture

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

```
var texture: GPUTexture
```

The texture object.