# Shaders

[View Source](https://cs.android.com/search?q=file:com/android/build/api/dsl/Shaders.kt+class:com.android.build.api.dsl.Shaders) Added in 4.2.0


```
interface Shaders
```

<br />

*** ** * ** ***

Options for configuring scoped shader options.

## Summary

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/Shaders#glslcArgs(kotlin.Array)(vararg options: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` Adds options to the list of glslc args. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/Shaders#glslcScopedArgs(kotlin.String,kotlin.Array)(key: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, vararg options: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` Adds options to the list of scoped glsl args. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/Shaders#glslcArgs()` The list of glslc args. |
| `https://guava.dev/releases/18.0/api/docs/com/google/common/collect/ListMultimap.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/Shaders#scopedGlslcArgs()` The list of scoped glsl args. |

## Public functions

### glslcArgs

Added in 4.2.0

```
fun glslcArgs(vararg options: String): Unit
```

Adds options to the list of glslc args.

### glslcScopedArgs

Added in 4.2.0

```
fun glslcScopedArgs(key: String, vararg options: String): Unit
```

Adds options to the list of scoped glsl args.

## Public properties

### glslcArgs

Added in 4.2.0

```
val glslcArgs: MutableList<String>
```

The list of glslc args.

### scopedGlslcArgs

Added in 4.2.0

```
val scopedGlslcArgs: ListMultimap<String, String>
```

The list of scoped glsl args.