# Shaders

# Shaders

<br />

```
@Incubating interface Shaders
```

<br />

*** ** * ** ***

Options for configuring scoped shader options.

## Summary

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

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

## Public functions

### glslcArgs

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

Adds options to the list of glslc args.  

### glslcScopedArgs

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

Adds options to the list of scoped glsl args.

## Public properties

### glslcArgs

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

The list of glslc args.  

### scopedGlslcArgs

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

The list of scoped glsl args.