# GPUColorSpaceDawn

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

*** ** * ** ***


```
class GPUColorSpaceDawn
```

<br />

*** ** * ** ***

## Summary

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

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUColorSpaceDawn#GPUColorSpaceDawn(kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Float)( primaries: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, transfer: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, yCbCrRange: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, yCbCrMatrix: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, hdrReferenceWhiteLuminance: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUColorSpaceDawn#hdrReferenceWhiteLuminance()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUColorSpaceDawn#primaries()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUColorSpaceDawn#transfer()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUColorSpaceDawn#yCbCrMatrix()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/webgpu/GPUColorSpaceDawn#yCbCrRange()` |

## Public constructors

### GPUColorSpaceDawn

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

```
GPUColorSpaceDawn(
    primaries: Int,
    transfer: Int = ColorSpaceTransferDawn.Identity,
    yCbCrRange: Int = ColorSpaceYCbCrRangeDawn.Identity,
    yCbCrMatrix: Int = ColorSpaceYCbCrMatrixDawn.Identity,
    hdrReferenceWhiteLuminance: Float = 0.0f
)
```

## Public properties

### hdrReferenceWhiteLuminance

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

```
var hdrReferenceWhiteLuminance: Float
```

### primaries

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

```
var primaries: Int
```

Value is one of the following:

- `1`
- `2`
- `3`
- `4`

<br />

### transfer

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

```
var transfer: Int
```

Value is one of the following:

- `1`
- `2`
- `3`
- `4`
- `5`
- `6`
- `7`

<br />

### yCbCrMatrix

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

```
var yCbCrMatrix: Int
```

Value is one of the following:

- `1`
- `2`
- `3`
- `4`

<br />

### yCbCrRange

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

```
var yCbCrRange: Int
```

Value is one of the following:

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

<br />